diff options
Diffstat (limited to 'tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp')
-rw-r--r-- | tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp b/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp index 5ef872a9..c164569c 100644 --- a/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp +++ b/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp @@ -43,9 +43,13 @@ * halves of default framebuffer. They are expected to match. */ -PIGLIT_GL_TEST_MAIN(512 /*window_width*/, - 256 /*window_height*/, - PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL); +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 512; + config.window_height = 256; + config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL; + +PIGLIT_GL_TEST_CONFIG_END const int pattern_width = 256; const int pattern_height = 256; |