aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/texdepth.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/texdepth.c')
-rw-r--r--tests/texturing/texdepth.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/texdepth.c b/tests/texturing/texdepth.c
index 864c28dd..b2c30306 100644
--- a/tests/texturing/texdepth.c
+++ b/tests/texturing/texdepth.c
@@ -14,10 +14,13 @@
#define COLS 8
static int Width = COLS*32, Height = ROWS*32;
-PIGLIT_GL_TEST_MAIN(
- COLS*32 /*window_width*/,
- ROWS*32 /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DEPTH)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = COLS*32;
+ config.window_height = ROWS*32;
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DEPTH;
+
+PIGLIT_GL_TEST_CONFIG_END
static int CellWidth, CellHeight;
static int CurrentTest = 0;