aboutsummaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-depth-tex1d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-depth-tex1d.c')
-rw-r--r--tests/fbo/fbo-depth-tex1d.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/fbo/fbo-depth-tex1d.c b/tests/fbo/fbo-depth-tex1d.c
index 44bdf979..0d3ec139 100644
--- a/tests/fbo/fbo-depth-tex1d.c
+++ b/tests/fbo/fbo-depth-tex1d.c
@@ -36,10 +36,13 @@
#define BUF_WIDTH 16
-PIGLIT_GL_TEST_MAIN(
- 50 /*window_width*/,
- 20 /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 50;
+ config.window_height = 20;
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH;
+
+PIGLIT_GL_TEST_CONFIG_END
#define F(name) #name, name