diff options
Diffstat (limited to 'tests/shaders/glsl-bindattriblocation.c')
-rw-r--r-- | tests/shaders/glsl-bindattriblocation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/shaders/glsl-bindattriblocation.c b/tests/shaders/glsl-bindattriblocation.c index aa389cee..d9b6cea6 100644 --- a/tests/shaders/glsl-bindattriblocation.c +++ b/tests/shaders/glsl-bindattriblocation.c @@ -115,7 +115,8 @@ piglit_display(void) glDisableVertexAttribArray(attrib_loc); - glutSwapBuffers(); + if (!piglit_automatic) + glutSwapBuffers(); return result; } |