diff options
-rw-r--r-- | src/nouveau_dri2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 719b3bb..6a0800c 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -204,10 +204,8 @@ can_sync_to_vblank(DrawablePtr draw) { ScrnInfoPtr scrn = xf86Screens[draw->pScreen->myNum]; NVPtr pNv = NVPTR(scrn); - PixmapPtr pix = NVGetDrawablePixmap(draw); return pNv->glx_vblank && - nouveau_exa_pixmap_is_onscreen(pix) && nv_window_belongs_to_crtc(scrn, draw->x, draw->y, draw->width, draw->height); } |