diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-11-25 21:33:46 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-11-26 02:46:38 +0100 |
commit | 4b1d26578116f4d1745dd92a7c99413972a2bedf (patch) | |
tree | 832d5d2b4bb6108f30415b2d9179e187e57c5b3b | |
parent | 1143e7a97dce1b741376e178b73b8b766e03849a (diff) | |
download | xorg-driver-xf86-video-nouveau-4b1d26578116f4d1745dd92a7c99413972a2bedf.tar.gz |
dri2: Don't return failure from schedule_wait if sync-to-vblank is unavailable.
Reported-by: Ben Skeggs <bskeggs@redhat.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 204ab32..48e134e 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -323,7 +323,7 @@ nouveau_dri2_schedule_wait(ClientPtr client, DrawablePtr draw, int ret; if (!can_sync_to_vblank(draw)) - return FALSE; + return TRUE; /* Initialize a vblank structure */ s = malloc(sizeof(*s)); |