diff options
Diffstat (limited to 'tests/shaders/glsl-empty-vs-no-fs.c')
-rw-r--r-- | tests/shaders/glsl-empty-vs-no-fs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shaders/glsl-empty-vs-no-fs.c b/tests/shaders/glsl-empty-vs-no-fs.c index efa9d22bc..361271185 100644 --- a/tests/shaders/glsl-empty-vs-no-fs.c +++ b/tests/shaders/glsl-empty-vs-no-fs.c @@ -35,8 +35,10 @@ #include "piglit-util.h" -int piglit_width = 250, piglit_height = 250; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE; +PIGLIT_GL_TEST_MAIN( + 250 /*window_width*/, + 250 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE) static const char *vs_source = "void main() {}"; |