diff options
Diffstat (limited to 'tests/shaders/glsl-vs-statechange-1.c')
-rw-r--r-- | tests/shaders/glsl-vs-statechange-1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shaders/glsl-vs-statechange-1.c b/tests/shaders/glsl-vs-statechange-1.c index 599b8524c..76d1a5d34 100644 --- a/tests/shaders/glsl-vs-statechange-1.c +++ b/tests/shaders/glsl-vs-statechange-1.c @@ -35,8 +35,10 @@ #include "piglit-util.h" -int piglit_width = 50, piglit_height = 50; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE | GLUT_ALPHA; +PIGLIT_GL_TEST_MAIN( + 50 /*window_width*/, + 50 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE | GLUT_ALPHA) const char *vs_source = "void main()\n" |