diff options
Diffstat (limited to 'tests/fbo/fbo-depthstencil.c')
-rw-r--r-- | tests/fbo/fbo-depthstencil.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/fbo/fbo-depthstencil.c b/tests/fbo/fbo-depthstencil.c index 1e07b8c00..e10a4cefe 100644 --- a/tests/fbo/fbo-depthstencil.c +++ b/tests/fbo/fbo-depthstencil.c @@ -32,10 +32,13 @@ #define BUF_SIZE 123 -PIGLIT_GL_TEST_MAIN( - BUF_SIZE /*window_width*/, - BUF_SIZE /*window_height*/, - PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = BUF_SIZE; + config.window_height = BUF_SIZE; + config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL; + +PIGLIT_GL_TEST_CONFIG_END enum { CLEAR, |