summaryrefslogtreecommitdiff
path: root/tests/general/linestipple.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/linestipple.c')
-rw-r--r--tests/general/linestipple.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/linestipple.c b/tests/general/linestipple.c
index f1e19edd..c0e43e2c 100644
--- a/tests/general/linestipple.c
+++ b/tests/general/linestipple.c
@@ -176,7 +176,8 @@ static void test(void)
test_line(&Lines[i]);
glPopMatrix();
- glutSwapBuffers();
+ if (!piglit_automatic)
+ glutSwapBuffers();
}