diff options
Diffstat (limited to 'tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c')
-rw-r--r-- | tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c index 92c6da75..2389ea95 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c @@ -25,10 +25,13 @@ #include "piglit-util-gl-common.h" #include <stdarg.h> -PIGLIT_GL_TEST_MAIN( - 250 /*window_width*/, - 250 /*window_height*/, - PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_ALPHA) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 250; + config.window_height = 250; + config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_ALPHA; + +PIGLIT_GL_TEST_CONFIG_END static unsigned verts[4*4*4]; |