diff options
Diffstat (limited to 'tests/shaders/glsl-fs-user-varying-ff.c')
-rw-r--r-- | tests/shaders/glsl-fs-user-varying-ff.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shaders/glsl-fs-user-varying-ff.c b/tests/shaders/glsl-fs-user-varying-ff.c index 3853066f3..24c60958f 100644 --- a/tests/shaders/glsl-fs-user-varying-ff.c +++ b/tests/shaders/glsl-fs-user-varying-ff.c @@ -29,8 +29,10 @@ */ #include "piglit-util.h" -int piglit_width = 30, piglit_height = 30; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE; +PIGLIT_GL_TEST_MAIN( + 30 /*window_width*/, + 30 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE) static const char fs_text[] = "varying vec4 color;\n" |