summaryrefslogtreecommitdiff
path: root/tests/texturing/tex3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/tex3d.c')
-rw-r--r--tests/texturing/tex3d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/texturing/tex3d.c b/tests/texturing/tex3d.c
index 42c24a04..53ebe9f4 100644
--- a/tests/texturing/tex3d.c
+++ b/tests/texturing/tex3d.c
@@ -146,7 +146,8 @@ static int render_and_check(int w, int h, int d, GLenum format, float q, unsigne
}
free(readback);
- glutSwapBuffers();
+ if (!piglit_automatic)
+ glutSwapBuffers();
return 1;
}