diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-27 19:52:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-27 19:52:30 +0100 |
commit | 2893d2b51653cc254000454ad054cd9f0afb1291 (patch) | |
tree | 6a457f8ddbaa617b9fe8fd123e5534b2044d4f7b /src/sna/sna_dri.c | |
parent | 4c9265ebff496a4d4f974768e264bd65babff97e (diff) |
sna: Fix regression in picture extraction
This is a little helper function, that just returns a bool, not the
error code used by the render backends. Instead the caller tries an
alternative method of extraction before giving up.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri.c')
-rw-r--r-- | src/sna/sna_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index a009d3ed..00a65a9e 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -1148,8 +1148,8 @@ can_flip(struct sna * sna, pixmap = get_window_pixmap(win); if (pixmap != sna->front) { - DBG(("%s: no, window is not attached to the front buffer\n", - __FUNCTION__)); + DBG(("%s: no, window (pixmap=%ld) is not attached to the front buffer (pixmap=%ld)\n", + __FUNCTION__, pixmap->drawable.serialNumber, sna->front->drawable.serialNumber)); return false; } |