summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-viewport.c')
-rw-r--r--tests/fbo/fbo-viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-viewport.c b/tests/fbo/fbo-viewport.c
index 8806dc080..0374c263c 100644
--- a/tests/fbo/fbo-viewport.c
+++ b/tests/fbo/fbo-viewport.c
@@ -169,7 +169,7 @@ piglit_display(void)
printf("Showing %s image\n", (i & 1) ? "FBO" : "window");
glDrawPixels(piglit_width, piglit_height,
GL_RGB, GL_UNSIGNED_BYTE, image);
- glutSwapBuffers();
+ piglit_present_results();
sleep(1);
}
}