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