diff options
Diffstat (limited to 'tests/general/draw-sync.c')
-rw-r--r-- | tests/general/draw-sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/draw-sync.c b/tests/general/draw-sync.c index 50804510..18320f5e 100644 --- a/tests/general/draw-sync.c +++ b/tests/general/draw-sync.c @@ -56,7 +56,8 @@ piglit_display(void) } } - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return pass ? PIGLIT_PASS : PIGLIT_FAIL; } |