summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-pbo-readpixels-small.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-pbo-readpixels-small.c')
-rw-r--r--tests/fbo/fbo-pbo-readpixels-small.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-pbo-readpixels-small.c b/tests/fbo/fbo-pbo-readpixels-small.c
index b3fb6f43a..fc8a96064 100644
--- a/tests/fbo/fbo-pbo-readpixels-small.c
+++ b/tests/fbo/fbo-pbo-readpixels-small.c
@@ -156,7 +156,7 @@ piglit_display(void)
glDeleteFramebuffersEXT(1, &fbo);
glDeleteTextures(1, &tex);
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}