summaryrefslogtreecommitdiff
path: root/tests/shaders/vp-address-05.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/vp-address-05.c')
-rw-r--r--tests/shaders/vp-address-05.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/shaders/vp-address-05.c b/tests/shaders/vp-address-05.c
index 596ec83b..513665d5 100644
--- a/tests/shaders/vp-address-05.c
+++ b/tests/shaders/vp-address-05.c
@@ -34,10 +34,13 @@
#define TEST_COLS 4
#define BOX_SIZE 32
-PIGLIT_GL_TEST_MAIN(
- (((BOX_SIZE+1)*TEST_COLS)+1) /*window_width*/,
- (((BOX_SIZE+1)*TEST_ROWS)+1) /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = (((BOX_SIZE+1)*TEST_COLS)+1);
+ config.window_height = (((BOX_SIZE+1)*TEST_ROWS)+1);
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static const char vertex_source_template[] =
"!!ARBvp1.0\n"