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