summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-bug-22603.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-bug-22603.c')
-rw-r--r--tests/shaders/glsl-bug-22603.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/shaders/glsl-bug-22603.c b/tests/shaders/glsl-bug-22603.c
index c017f4ff5..8c6bc12e7 100644
--- a/tests/shaders/glsl-bug-22603.c
+++ b/tests/shaders/glsl-bug-22603.c
@@ -32,10 +32,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 800 /*window_width*/,
- 600 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 800;
+ config.window_height = 600;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
/* Misbehaviour: first: the quads are not drawn in the correct order
* (darker equals closer to the viewer), second: the middle one is strangely