summaryrefslogtreecommitdiff
path: root/tests/general/scissor-copypixels.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/scissor-copypixels.c')
-rw-r--r--tests/general/scissor-copypixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/scissor-copypixels.c b/tests/general/scissor-copypixels.c
index e21b9d44e..590b8b125 100644
--- a/tests/general/scissor-copypixels.c
+++ b/tests/general/scissor-copypixels.c
@@ -103,7 +103,7 @@ piglit_display(void)
pass &= check_red_box_surrounded_by_green(dst_x, 30, 0, 0);
pass &= check_red_box_surrounded_by_green(dst_x, 50, dst_w, dst_h);
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}