summaryrefslogtreecommitdiff
path: root/tests/texturing/texsubimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/texsubimage.c')
-rw-r--r--tests/texturing/texsubimage.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c
index 1e0e16c9d..ee8fc655b 100644
--- a/tests/texturing/texsubimage.c
+++ b/tests/texturing/texsubimage.c
@@ -35,10 +35,13 @@
#include "piglit-util-gl-common.h"
#include "../fbo/fbo-formats.h"
-PIGLIT_GL_TEST_MAIN(
- 150 /*window_width*/,
- 150 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 150;
+ config.window_height = 150;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
/**
* This is a subset of the formats in fbo-formats.h