diff options
Diffstat (limited to 'tests/shaders/glsl-fs-fragcoord-zw-ortho.c')
-rw-r--r-- | tests/shaders/glsl-fs-fragcoord-zw-ortho.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/shaders/glsl-fs-fragcoord-zw-ortho.c b/tests/shaders/glsl-fs-fragcoord-zw-ortho.c index 34f561db..675be52d 100644 --- a/tests/shaders/glsl-fs-fragcoord-zw-ortho.c +++ b/tests/shaders/glsl-fs-fragcoord-zw-ortho.c @@ -35,10 +35,13 @@ #include "piglit-util-gl-common.h" -PIGLIT_GL_TEST_MAIN( - 256 /*window_width*/, - 256 /*window_height*/, - PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = 256; + config.window_height = 256; + config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH; + +PIGLIT_GL_TEST_CONFIG_END static void draw_quad(float x, float y, float w, float h) |