diff options
Diffstat (limited to 'tests/general/depth-clamp-range.c')
-rw-r--r-- | tests/general/depth-clamp-range.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/depth-clamp-range.c b/tests/general/depth-clamp-range.c index c93e7edb..2950fc1d 100644 --- a/tests/general/depth-clamp-range.c +++ b/tests/general/depth-clamp-range.c @@ -125,7 +125,8 @@ piglit_display(void) pass = piglit_probe_pixel_rgb(95, 15, white) && pass; pass = piglit_probe_pixel_rgb(95, 35, clear) && pass; - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return pass ? PIGLIT_PASS : PIGLIT_FAIL; } |