diff options
Diffstat (limited to 'tests/texturing/texture-packed-formats.c')
-rw-r--r-- | tests/texturing/texture-packed-formats.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/texture-packed-formats.c b/tests/texturing/texture-packed-formats.c index 62e1c9ac..664dcdc9 100644 --- a/tests/texturing/texture-packed-formats.c +++ b/tests/texturing/texture-packed-formats.c @@ -39,10 +39,13 @@ #include <string.h> #include "piglit-util-gl-common.h" -PIGLIT_GL_TEST_MAIN( - 700 /*window_width*/, - 620 /*window_height*/, - PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 700; + config.window_height = 620; + config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + +PIGLIT_GL_TEST_CONFIG_END struct pixel_format { const char *name; |