summaryrefslogtreecommitdiff
path: root/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp')
-rw-r--r--tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp b/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
index c49434a0..3e17acce 100644
--- a/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
+++ b/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
@@ -64,9 +64,13 @@
* Author: Anuj Phogat <anuj.phogat@gmail.com>
*/
-PIGLIT_GL_TEST_MAIN(512 /*window_width*/,
- 768 /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 512;
+ config.window_height = 768;
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA;
+
+PIGLIT_GL_TEST_CONFIG_END
static int samples;