aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/array-depth-roundtrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/array-depth-roundtrip.c')
-rw-r--r--tests/texturing/array-depth-roundtrip.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/array-depth-roundtrip.c b/tests/texturing/array-depth-roundtrip.c
index 5c4d14c4..851a9699 100644
--- a/tests/texturing/array-depth-roundtrip.c
+++ b/tests/texturing/array-depth-roundtrip.c
@@ -52,10 +52,13 @@
#define TEX_DEPTH (NUM_TILES_ACROSS * NUM_TILES_DOWN)
-PIGLIT_GL_TEST_MAIN(
- TEX_WIDTH * NUM_TILES_ACROSS,
- TEX_HEIGHT * NUM_TILES_DOWN,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = TEX_WIDTH*NUM_TILES_ACROSS;
+ config.window_height = TEX_HEIGHT*NUM_TILES_DOWN;
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB;
+
+PIGLIT_GL_TEST_CONFIG_END
GLuint tex;