diff options
author | Francisco Jerez <currojerez@riseup.net> | 2012-05-08 14:02:44 +0200 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2012-05-08 15:09:40 +0200 |
commit | 581564466c47ab0435ecca3cf4d82c03e1b30259 (patch) | |
tree | ca9663cefe7a516e8d10c47350994ab55ebf75e0 | |
parent | b1efc807392d372e6a232aad9d16ae6e1b1c1916 (diff) |
dri2: Don't try to page-flip pixmaps (fdo bug 49351).
Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r-- | src/nouveau_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 73f2fc1..7e47575 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -328,7 +328,7 @@ nouveau_dri2_finish_swap(DrawablePtr draw, unsigned int frame, type = DRI2_EXCHANGE_COMPLETE; DamageRegionAppend(draw, ®); - if (DRI2CanFlip(draw)) { + if (nouveau_exa_pixmap_is_onscreen(dst_pix)) { type = DRI2_FLIP_COMPLETE; ret = drmmode_page_flip(draw, src_pix, violate_oml(draw) ? NULL : s, |