summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-cubemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-cubemap.c')
-rw-r--r--tests/fbo/fbo-cubemap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/fbo/fbo-cubemap.c b/tests/fbo/fbo-cubemap.c
index bb9a33de..c193a81c 100644
--- a/tests/fbo/fbo-cubemap.c
+++ b/tests/fbo/fbo-cubemap.c
@@ -36,10 +36,13 @@
#define BUF_WIDTH 32
#define BUF_HEIGHT 32
-PIGLIT_GL_TEST_MAIN(
- 200 /*window_width*/,
- 100 /*window_height*/,
- PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 200;
+ config.window_height = 100;
+ config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB;
+
+PIGLIT_GL_TEST_CONFIG_END
float face_color[7][4] = {
{1.0, 0.0, 0.0, 0.0},