aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/depthstencil-render-miplevels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/depthstencil-render-miplevels.cpp')
-rw-r--r--tests/texturing/depthstencil-render-miplevels.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/texturing/depthstencil-render-miplevels.cpp b/tests/texturing/depthstencil-render-miplevels.cpp
index 7498f29f..894f22dc 100644
--- a/tests/texturing/depthstencil-render-miplevels.cpp
+++ b/tests/texturing/depthstencil-render-miplevels.cpp
@@ -86,10 +86,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 16 /*window_width*/,
- 16 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 16;
+ config.window_height = 16;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA;
+
+PIGLIT_GL_TEST_CONFIG_END
namespace {