aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c')
-rw-r--r--tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c b/tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c
index 941d1595..126cbf1a 100644
--- a/tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c
+++ b/tests/spec/glsl-1.30/execution/fs-texelFetch-2D.c
@@ -31,10 +31,13 @@
*/
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 90 /*window_width*/,
- 150 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 90;
+ config.window_height = 150;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
const int tex_size = 64;