diff options
Diffstat (limited to 'tests/texturing/lodclamp-between-max.c')
-rw-r--r-- | tests/texturing/lodclamp-between-max.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/lodclamp-between-max.c b/tests/texturing/lodclamp-between-max.c index 6e6d8cc8..80e57c66 100644 --- a/tests/texturing/lodclamp-between-max.c +++ b/tests/texturing/lodclamp-between-max.c @@ -38,10 +38,13 @@ #define MAX_LOD 5 #define PAD 5 -PIGLIT_GL_TEST_MAIN( - 100 /*window_width*/, - 200 /*window_height*/, - PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 100; + config.window_height = 200; + config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB; + +PIGLIT_GL_TEST_CONFIG_END static GLfloat colors[][3] = { {1.0, 0.0, 0.0}, |