diff options
Diffstat (limited to 'tests/texturing/depth-tex-compare.c')
-rw-r--r-- | tests/texturing/depth-tex-compare.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/depth-tex-compare.c b/tests/texturing/depth-tex-compare.c index 6bb71dbe..a56e869f 100644 --- a/tests/texturing/depth-tex-compare.c +++ b/tests/texturing/depth-tex-compare.c @@ -35,10 +35,13 @@ #define BOX_SIZE 25 -PIGLIT_GL_TEST_MAIN( - 400 /*window_width*/, - 300 /*window_height*/, - PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 400; + config.window_height = 300; + config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB; + +PIGLIT_GL_TEST_CONFIG_END static GLuint tex; |