summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-vs-statechange-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-vs-statechange-1.c')
-rw-r--r--tests/shaders/glsl-vs-statechange-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-vs-statechange-1.c b/tests/shaders/glsl-vs-statechange-1.c
index 84733e417..d84a17f42 100644
--- a/tests/shaders/glsl-vs-statechange-1.c
+++ b/tests/shaders/glsl-vs-statechange-1.c
@@ -69,7 +69,7 @@ piglit_display(void)
pass &= piglit_probe_rect_rgba(piglit_width / 2, 0,
piglit_width / 2, piglit_height, blue);
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}