summaryrefslogtreecommitdiff
path: root/tests/general/blendminmax.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/blendminmax.c')
-rw-r--r--tests/general/blendminmax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/blendminmax.c b/tests/general/blendminmax.c
index 65213581..1d00a1dd 100644
--- a/tests/general/blendminmax.c
+++ b/tests/general/blendminmax.c
@@ -116,7 +116,8 @@ piglit_display(void)
pass = piglit_probe_pixel_rgb(15 + next_x * 3, piglit_height / 2,
expected) && pass;
- glutSwapBuffers();
+ if (!piglit_automatic)
+ glutSwapBuffers();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}