aboutsummaryrefslogtreecommitdiff
path: root/tests/hiz/hiz-depth-read-window-stencil1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hiz/hiz-depth-read-window-stencil1.c')
-rw-r--r--tests/hiz/hiz-depth-read-window-stencil1.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/hiz/hiz-depth-read-window-stencil1.c b/tests/hiz/hiz-depth-read-window-stencil1.c
index ab8f4bbe..02626774 100644
--- a/tests/hiz/hiz-depth-read-window-stencil1.c
+++ b/tests/hiz/hiz-depth-read-window-stencil1.c
@@ -31,10 +31,13 @@
#include "piglit-util-gl-common.h"
#include "hiz/hiz-util.h"
-PIGLIT_GL_TEST_MAIN(
- 400 /*window_width*/,
- 400 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 400;
+ config.window_height = 400;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL;
+
+PIGLIT_GL_TEST_CONFIG_END
void
piglit_init(int argc, char **argv)