summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-pbo-readpixels-small.c
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2012-08-21 21:11:55 +1200
committerChad Versace <chad.versace@linux.intel.com>2012-09-04 16:02:18 -0700
commit9cad85663901e4c3f729b86b007a97fa1de13a5f (patch)
tree72936357a09eb03955f59358f1517d217e6e7b97 /tests/fbo/fbo-pbo-readpixels-small.c
parent9c6ac73c2871a3b08ea13d39cd5c596d75220aab (diff)
Convert all glutSwapBuffers to piglit_present_results
V2: Don't break tests/general/read-front Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
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;
}