diff options
Diffstat (limited to 'tests/texturing/gen-teximage.c')
-rw-r--r-- | tests/texturing/gen-teximage.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/gen-teximage.c b/tests/texturing/gen-teximage.c index f63b4533f..3a88db6a5 100644 --- a/tests/texturing/gen-teximage.c +++ b/tests/texturing/gen-teximage.c @@ -38,10 +38,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 #define SIZE 128 |