diff options
Diffstat (limited to 'tests/shaders/vp-clipdistance-02.c')
-rw-r--r-- | tests/shaders/vp-clipdistance-02.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/shaders/vp-clipdistance-02.c b/tests/shaders/vp-clipdistance-02.c index c7f29efc6..7db65a9d6 100644 --- a/tests/shaders/vp-clipdistance-02.c +++ b/tests/shaders/vp-clipdistance-02.c @@ -39,11 +39,10 @@ #define TEST_COLS 6 #define BOX_SIZE 32 - -int piglit_window_mode = GLUT_DOUBLE; -int piglit_width = (((BOX_SIZE+1)*TEST_COLS)+1); -int piglit_height = (((BOX_SIZE+1)*TEST_ROWS)+1); - +PIGLIT_GL_TEST_MAIN( + (((BOX_SIZE+1)*TEST_COLS)+1) /*window_width*/, + (((BOX_SIZE+1)*TEST_ROWS)+1) /*window_height*/, + GLUT_DOUBLE) static const char vertex_source_template[] = "!!ARBvp1.0\n" |