aboutsummaryrefslogtreecommitdiff
path: root/tests/bugs/fdo25614-genmipmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/fdo25614-genmipmap.c')
-rw-r--r--tests/bugs/fdo25614-genmipmap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/bugs/fdo25614-genmipmap.c b/tests/bugs/fdo25614-genmipmap.c
index 7c90ec50..9d772464 100644
--- a/tests/bugs/fdo25614-genmipmap.c
+++ b/tests/bugs/fdo25614-genmipmap.c
@@ -40,10 +40,13 @@
#define TEST_COLS 5
#define BOX_SIZE (1 << (TEST_COLS + 1))
-PIGLIT_GL_TEST_MAIN(
- (BOX_SIZE + 2) * TEST_COLS + 1 /*window_width*/,
- (BOX_SIZE + 1) + 1 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = (BOX_SIZE+2)*TEST_COLS+1;
+ config.window_height = (BOX_SIZE+1)+1;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static GLuint tex[1];