aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/tex-miplevel-selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/tex-miplevel-selection.c')
-rw-r--r--tests/texturing/tex-miplevel-selection.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/tex-miplevel-selection.c b/tests/texturing/tex-miplevel-selection.c
index a43f0d35..1185929c 100644
--- a/tests/texturing/tex-miplevel-selection.c
+++ b/tests/texturing/tex-miplevel-selection.c
@@ -32,10 +32,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 900 /*window_width*/,
- 600 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 900;
+ config.window_height = 600;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+
+PIGLIT_GL_TEST_CONFIG_END
#define TEX_WIDTH 32
#define TEX_HEIGHT 32