diff options
Diffstat (limited to 'tests/shaders/glsl-preprocessor-comments.c')
-rw-r--r-- | tests/shaders/glsl-preprocessor-comments.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shaders/glsl-preprocessor-comments.c b/tests/shaders/glsl-preprocessor-comments.c index 37fbb1c5b..307642235 100644 --- a/tests/shaders/glsl-preprocessor-comments.c +++ b/tests/shaders/glsl-preprocessor-comments.c @@ -36,8 +36,10 @@ #include "piglit-util.h" -int piglit_width = 100, piglit_height = 100; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE; +PIGLIT_GL_TEST_MAIN( + 100 /*window_width*/, + 100 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE) static int args1_location; static GLint prog; |