diff options
Diffstat (limited to 'tests/fbo/fbo-generatemipmap-array.c')
-rw-r--r-- | tests/fbo/fbo-generatemipmap-array.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/fbo/fbo-generatemipmap-array.c b/tests/fbo/fbo-generatemipmap-array.c index 876ec7354..7095bc0e0 100644 --- a/tests/fbo/fbo-generatemipmap-array.c +++ b/tests/fbo/fbo-generatemipmap-array.c @@ -35,9 +35,11 @@ #define TEX_WIDTH 128 #define TEX_HEIGHT 128 -int piglit_width = 600; -int piglit_height = 560; -int piglit_window_mode = GLUT_DOUBLE | GLUT_RGB; + +PIGLIT_GL_TEST_MAIN( + 600 /*window_width*/, + 560 /*window_height*/, + GLUT_DOUBLE | GLUT_RGB) static const float red[] = {1, 0, 0, 0}; static const float green[] = {0, 1, 0, 0}; |