summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-useprogram-displaylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-useprogram-displaylist.c')
-rw-r--r--tests/shaders/glsl-useprogram-displaylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-useprogram-displaylist.c b/tests/shaders/glsl-useprogram-displaylist.c
index 9d06b4811..f535bc50c 100644
--- a/tests/shaders/glsl-useprogram-displaylist.c
+++ b/tests/shaders/glsl-useprogram-displaylist.c
@@ -92,7 +92,7 @@ piglit_display(void)
pass = piglit_probe_pixel_rgb(piglit_width / 2, piglit_height / 2,
green);
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}