summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-srgb-blit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-srgb-blit.c')
-rw-r--r--tests/fbo/fbo-srgb-blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-srgb-blit.c b/tests/fbo/fbo-srgb-blit.c
index 22f71158c..30ad4953e 100644
--- a/tests/fbo/fbo-srgb-blit.c
+++ b/tests/fbo/fbo-srgb-blit.c
@@ -114,7 +114,7 @@ enum piglit_result piglit_display(void)
pass &= piglit_probe_pixel_rgb(expected[i].x, expected[i].y, expected[i].color);
}
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}