diff options
Diffstat (limited to 'tests/texturing/gen-texsubimage.c')
-rw-r--r-- | tests/texturing/gen-texsubimage.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/gen-texsubimage.c b/tests/texturing/gen-texsubimage.c index 0e30a3c6..12a2446b 100644 --- a/tests/texturing/gen-texsubimage.c +++ b/tests/texturing/gen-texsubimage.c @@ -35,10 +35,13 @@ #include "piglit-util-gl-common.h" -PIGLIT_GL_TEST_MAIN( - 512 /*window_width*/, - 512 /*window_height*/, - PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 512; + config.window_height = 512; + config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + +PIGLIT_GL_TEST_CONFIG_END static void display_mipmaps(int start_x, int start_y) { |