diff options
author | Axel Davy <axel.davy@ens.fr> | 2014-06-18 22:22:09 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-23 14:15:48 -0700 |
commit | ce581ac3fa80c4c52d87bd54fa92bc566b7d6adc (patch) | |
tree | fcbd373aa287831f203ec643210b64e79dd605a6 /present | |
parent | adb7bc3386559dfee34b359dadcbb6796bc416e7 (diff) |
present: fix bad logic in cancelling scheduled operations.
If we present several pixmaps in advance for different msc, the later one
shouldn't cancel the previous ones.
This reverts a change made by commit
e6f5d9d7b7efdacea0f22f1808efca849bcede4c
Without this fix, vblank_mode=0 glxgears doesn't update
with the present fallback.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'present')
-rw-r--r-- | present/present.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/present/present.c b/present/present.c index 271c251a9..3aea0d7c6 100644 --- a/present/present.c +++ b/present/present.c @@ -771,7 +771,7 @@ present_pixmap(WindowPtr window, if (!vblank->queued) continue; - if (vblank->crtc != target_crtc || vblank->target_msc > target_msc) + if (vblank->crtc != target_crtc || vblank->target_msc != target_msc) continue; DebugPresent(("\tx %lld %p %8lld: %08lx -> %08lx (crtc %p)\n", |