aboutsummaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-generatemipmap-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-generatemipmap-formats.c')
-rw-r--r--tests/fbo/fbo-generatemipmap-formats.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/fbo/fbo-generatemipmap-formats.c b/tests/fbo/fbo-generatemipmap-formats.c
index de528e3f..2f19ff1d 100644
--- a/tests/fbo/fbo-generatemipmap-formats.c
+++ b/tests/fbo/fbo-generatemipmap-formats.c
@@ -37,10 +37,13 @@
static int tex_width = 256;
static int tex_height = 256;
-PIGLIT_GL_TEST_MAIN(
- 700 /*window_width*/,
- 300 /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA)
+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_VISUAL_ALPHA;
+
+PIGLIT_GL_TEST_CONFIG_END
static void set_npot(GLboolean npot)
{