aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/gen-nonzero-unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/gen-nonzero-unit.c')
-rw-r--r--tests/texturing/gen-nonzero-unit.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/gen-nonzero-unit.c b/tests/texturing/gen-nonzero-unit.c
index 558da61c..e5b48109 100644
--- a/tests/texturing/gen-nonzero-unit.c
+++ b/tests/texturing/gen-nonzero-unit.c
@@ -41,10 +41,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 512 /*window_width*/,
- 512 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 512;
+ config.window_height = 512;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static PFNGLACTIVETEXTUREPROC ActiveTexture = NULL;