aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/shaders/texelFetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/shaders/texelFetch.c')
-rw-r--r--tests/texturing/shaders/texelFetch.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/shaders/texelFetch.c b/tests/texturing/shaders/texelFetch.c
index 696a3676..81a82d7f 100644
--- a/tests/texturing/shaders/texelFetch.c
+++ b/tests/texturing/shaders/texelFetch.c
@@ -78,10 +78,13 @@
*/
#include "common.h"
-PIGLIT_GL_TEST_MAIN(
- 355 /*window_width*/,
- 250 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 355;
+ config.window_height = 250;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
/** Vertex shader attribute locations */
const int pos_loc = 0;