summaryrefslogtreecommitdiff
path: root/tests/spec/ext_framebuffer_multisample/upsample.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/ext_framebuffer_multisample/upsample.cpp')
-rw-r--r--tests/spec/ext_framebuffer_multisample/upsample.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/upsample.cpp b/tests/spec/ext_framebuffer_multisample/upsample.cpp
index 4bef055e1..7278e3bd0 100644
--- a/tests/spec/ext_framebuffer_multisample/upsample.cpp
+++ b/tests/spec/ext_framebuffer_multisample/upsample.cpp
@@ -52,9 +52,13 @@
* accuracy.cpp.
*/
-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;