diff options
Diffstat (limited to 'tests/general/pbo-teximage-tiling.c')
-rw-r--r-- | tests/general/pbo-teximage-tiling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/pbo-teximage-tiling.c b/tests/general/pbo-teximage-tiling.c index 16c0dbaf..e34c7760 100644 --- a/tests/general/pbo-teximage-tiling.c +++ b/tests/general/pbo-teximage-tiling.c @@ -94,7 +94,8 @@ piglit_display(void) pass &= piglit_probe_pixel_rgb(12, 18, blue); pass &= piglit_probe_pixel_rgb(18, 18, white); - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return pass ? PIGLIT_PASS : PIGLIT_FAIL; } |