aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c')
-rw-r--r--tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c b/tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c
index 506d83c1..79f8e9ff 100644
--- a/tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c
+++ b/tests/spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture.c
@@ -21,10 +21,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 250 /*window_width*/,
- 70 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 250;
+ config.window_height = 70;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
static const float colors[6][3] = {
{1, 0, 0},