summaryrefslogtreecommitdiff
path: root/test/dri2-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dri2-test.c')
-rw-r--r--test/dri2-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dri2-test.c b/test/dri2-test.c
index 88c0e4c1..d5753050 100644
--- a/test/dri2-test.c
+++ b/test/dri2-test.c
@@ -186,6 +186,7 @@ static void run(Display *dpy, int width, int height,
name, width, height, elapsed(&start, &end));
DRI2SwapInterval(dpy, win, 0);
+ wait_next_vblank(dpy, win);
swap_buffers(c, win, attachments, nattachments);
start_msc = check_msc(dpy, win, end_msc);