aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/shaders/textureSize.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/shaders/textureSize.c')
-rw-r--r--tests/texturing/shaders/textureSize.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/shaders/textureSize.c b/tests/texturing/shaders/textureSize.c
index 565b6bbe..35055448 100644
--- a/tests/texturing/shaders/textureSize.c
+++ b/tests/texturing/shaders/textureSize.c
@@ -46,10 +46,13 @@
*/
#include "common.h"
-PIGLIT_GL_TEST_MAIN(
- 150 /*window_width*/,
- 30 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 150;
+ config.window_height = 30;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static int lod_location;
static int vertex_location;