summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-getattriblocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-getattriblocation.c')
-rw-r--r--tests/shaders/glsl-getattriblocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-getattriblocation.c b/tests/shaders/glsl-getattriblocation.c
index 63ac35495..4860cf1d2 100644
--- a/tests/shaders/glsl-getattriblocation.c
+++ b/tests/shaders/glsl-getattriblocation.c
@@ -106,7 +106,7 @@ piglit_display(void)
glDisableVertexAttribArray(attrib_loc);
- glutSwapBuffers();
+ piglit_present_results();
return result;
}