summaryrefslogtreecommitdiff
path: root/tests/shaders/vp-address-05.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/vp-address-05.c')
-rw-r--r--tests/shaders/vp-address-05.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/shaders/vp-address-05.c b/tests/shaders/vp-address-05.c
index 8573637c..7c8f9278 100644
--- a/tests/shaders/vp-address-05.c
+++ b/tests/shaders/vp-address-05.c
@@ -100,7 +100,8 @@ piglit_display(void)
}
}
- glutSwapBuffers();
+ if (!piglit_automatic)
+ glutSwapBuffers();
return result;
}