summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_textured.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r--src/sna/sna_video_textured.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c
index 96f4f55a..b9ccec0d 100644
--- a/src/sna/sna_video_textured.c
+++ b/src/sna/sna_video_textured.c
@@ -397,7 +397,7 @@ void sna_video_textured_setup(struct sna *sna, ScreenPtr screen)
v->textured = true;
v->alignment = 4;
v->rotation = RR_Rotate_0;
- v->SyncToVblank = 1;
+ v->SyncToVblank = (sna->flags & SNA_NO_WAIT) == 0;
RegionNull(&v->clip);