summaryrefslogtreecommitdiff
path: root/tests/general/stencil-drawpixels.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/stencil-drawpixels.c')
-rw-r--r--tests/general/stencil-drawpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/stencil-drawpixels.c b/tests/general/stencil-drawpixels.c
index beae4189c..d39f09c86 100644
--- a/tests/general/stencil-drawpixels.c
+++ b/tests/general/stencil-drawpixels.c
@@ -101,7 +101,7 @@ piglit_display(void)
pass &= piglit_probe_rect_rgb(0, 20, piglit_width, piglit_height - 20,
red);
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}