diff options
Diffstat (limited to 'tests/general/copypixels-draw-sync.c')
-rw-r--r-- | tests/general/copypixels-draw-sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/copypixels-draw-sync.c b/tests/general/copypixels-draw-sync.c index 54ffc0e0..ec911f56 100644 --- a/tests/general/copypixels-draw-sync.c +++ b/tests/general/copypixels-draw-sync.c @@ -62,7 +62,8 @@ piglit_display(void) pass = piglit_probe_rect_rgba(0, 0, piglit_width, piglit_height, green); - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return pass ? PIGLIT_PASS : PIGLIT_FAIL; } |