aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/getteximage-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/getteximage-formats.c')
-rw-r--r--tests/texturing/getteximage-formats.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/getteximage-formats.c b/tests/texturing/getteximage-formats.c
index f0660bd8..3aae36c3 100644
--- a/tests/texturing/getteximage-formats.c
+++ b/tests/texturing/getteximage-formats.c
@@ -35,10 +35,13 @@
#include "piglit-util-gl-common.h"
#include "../fbo/fbo-formats.h"
-PIGLIT_GL_TEST_MAIN(
- 600 /*window_width*/,
- 200 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 600;
+ config.window_height = 200;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static const char *TestName = "getteximage-formats";