diff options
Diffstat (limited to 'tests/spec/gl-3.0/api/integer-errors.c')
-rw-r--r-- | tests/spec/gl-3.0/api/integer-errors.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/spec/gl-3.0/api/integer-errors.c b/tests/spec/gl-3.0/api/integer-errors.c index 7dc99a60..a68a1a75 100644 --- a/tests/spec/gl-3.0/api/integer-errors.c +++ b/tests/spec/gl-3.0/api/integer-errors.c @@ -30,9 +30,13 @@ #include "piglit-util-gl-common.h" -PIGLIT_GL_TEST_MAIN(100 /*window_width*/, - 100 /*window_height*/, - PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE); +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 100; + config.window_height = 100; + config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE; + +PIGLIT_GL_TEST_CONFIG_END static bool test_api_errors(void) |