summaryrefslogtreecommitdiff
path: root/tests/spec/gl-3.0/texture-integer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/gl-3.0/texture-integer.c')
-rw-r--r--tests/spec/gl-3.0/texture-integer.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/spec/gl-3.0/texture-integer.c b/tests/spec/gl-3.0/texture-integer.c
index 3e6f55ef3..1612a36d9 100644
--- a/tests/spec/gl-3.0/texture-integer.c
+++ b/tests/spec/gl-3.0/texture-integer.c
@@ -29,9 +29,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(100 /*window_width*/,
- 100 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE);
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 100;
+ config.window_height = 100;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static const char *TestName = "texture-integer";
static GLint TexWidth = 16, TexHeight = 16;