diff options
-rw-r--r-- | src/sna/sna_present.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_present.c b/src/sna/sna_present.c index 96d42e3d..2f181a9f 100644 --- a/src/sna/sna_present.c +++ b/src/sna/sna_present.c @@ -394,7 +394,8 @@ sna_present_vblank_handler(struct drm_event_vblank *event) if (info->sna->mode.shadow_wait) { DBG(("%s: recursed from TearFree\n", __FUNCTION__)); - if (sna_present_queue(info, msc + 1)) + info->target_msc = msc + 1; + if (sna_present_queue(info, msc)) return; } |