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