diff options
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r-- | src/sna/sna_video_textured.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index 4975f55f..9247e88d 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -308,8 +308,7 @@ sna_video_textured_put_image(ScrnInfoPtr scrn, * we can hit the next vsync. */ if (flush) { - if (!sna_crtc_is_bound(sna, crtc)) - sna->kgem.batch[sna->kgem.wait] = 0; + assert(sna_crtc_is_bound(sna, ctrc)); kgem_submit(&sna->kgem); } |