aboutsummaryrefslogtreecommitdiff
path: root/tests/gles2/gles2_shader_runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gles2/gles2_shader_runner.c')
-rw-r--r--tests/gles2/gles2_shader_runner.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/gles2/gles2_shader_runner.c b/tests/gles2/gles2_shader_runner.c
index e1d8297a..42eb5c8b 100644
--- a/tests/gles2/gles2_shader_runner.c
+++ b/tests/gles2/gles2_shader_runner.c
@@ -34,10 +34,13 @@
#include <string.h>
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 250 /*window_width*/,
- 250 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DEPTH)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 250;
+ config.window_height = 250;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DEPTH;
+
+PIGLIT_GL_TEST_CONFIG_END
static float gles_version = 0.0;
static float essl_version = 0.0;