summaryrefslogtreecommitdiff
path: root/tests/texturing/texture-packed-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/texture-packed-formats.c')
-rw-r--r--tests/texturing/texture-packed-formats.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/texturing/texture-packed-formats.c b/tests/texturing/texture-packed-formats.c
index 46c9d127..82cb8c75 100644
--- a/tests/texturing/texture-packed-formats.c
+++ b/tests/texturing/texture-packed-formats.c
@@ -370,7 +370,8 @@ Test(GLuint intFmt, GLuint dims)
glPopMatrix();
}
- glutSwapBuffers();
+ if (!piglit_automatic)
+ glutSwapBuffers();
return pass;
}