diff options
Diffstat (limited to 'tests/shaders/fp-set-02.c')
-rw-r--r-- | tests/shaders/fp-set-02.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/shaders/fp-set-02.c b/tests/shaders/fp-set-02.c index 57d13a430..1e5cb1d53 100644 --- a/tests/shaders/fp-set-02.c +++ b/tests/shaders/fp-set-02.c @@ -69,10 +69,13 @@ struct { #define BOX_SIZE 8 -PIGLIT_GL_TEST_MAIN( - (((BOX_SIZE+1)*TEST_COLS)+1) /*window_width*/, - (((BOX_SIZE+1)*TEST_ROWS)+1) /*window_height*/, - PIGLIT_GL_VISUAL_DOUBLE) +PIGLIT_GL_TEST_CONFIG_BEGIN + + config.window_width = (((BOX_SIZE+1)*TEST_COLS)+1); + config.window_height = (((BOX_SIZE+1)*TEST_ROWS)+1); + config.window_visual = PIGLIT_GL_VISUAL_DOUBLE; + +PIGLIT_GL_TEST_CONFIG_END /** * Source for the fragment program to render the reference box. |