aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/ext_transform_feedback/generatemipmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/ext_transform_feedback/generatemipmap.c')
-rw-r--r--tests/spec/ext_transform_feedback/generatemipmap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/spec/ext_transform_feedback/generatemipmap.c b/tests/spec/ext_transform_feedback/generatemipmap.c
index 92da0b09..aae2b830 100644
--- a/tests/spec/ext_transform_feedback/generatemipmap.c
+++ b/tests/spec/ext_transform_feedback/generatemipmap.c
@@ -67,10 +67,13 @@
#define TEX_WIDTH 256
#define TEX_HEIGHT 256
-PIGLIT_GL_TEST_MAIN(
- 700 /*window_width*/,
- 300 /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 700;
+ config.window_height = 300;
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB;
+
+PIGLIT_GL_TEST_CONFIG_END
static const float red[] = {1, 0, 0, 0};
static const float green[] = {0, 1, 0, 0.25};