diff options
Diffstat (limited to 'tests/texturing/s3tc-teximage.c')
-rw-r--r-- | tests/texturing/s3tc-teximage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/texturing/s3tc-teximage.c b/tests/texturing/s3tc-teximage.c index 53cf1d22..3bca738b 100644 --- a/tests/texturing/s3tc-teximage.c +++ b/tests/texturing/s3tc-teximage.c @@ -131,7 +131,8 @@ piglit_display(void) pass = pass && check_resulting_mipmaps(10, 10 + (10 + SIZE) * 2); pass = pass && check_resulting_mipmaps(10, 10 + (10 + SIZE) * 3); - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return pass ? PIGLIT_PASS : PIGLIT_FAIL; } |