diff options
Diffstat (limited to 'tests/texturing/depth-tex-modes-glsl.c')
-rw-r--r-- | tests/texturing/depth-tex-modes-glsl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/texturing/depth-tex-modes-glsl.c b/tests/texturing/depth-tex-modes-glsl.c index 65c413e2..081415f4 100644 --- a/tests/texturing/depth-tex-modes-glsl.c +++ b/tests/texturing/depth-tex-modes-glsl.c @@ -306,7 +306,8 @@ piglit_display(void) } glFinish(); - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return pass ? PIGLIT_PASS : PIGLIT_FAIL; |