diff options
Diffstat (limited to 'tests/general/stencil-twoside.c')
-rw-r--r-- | tests/general/stencil-twoside.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/general/stencil-twoside.c b/tests/general/stencil-twoside.c index 2d2d623fd..66f93c3a3 100644 --- a/tests/general/stencil-twoside.c +++ b/tests/general/stencil-twoside.c @@ -36,9 +36,12 @@ #include "piglit-util.h" static int use20syntax = 1; -int piglit_width = 650; -int piglit_height = 200; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_STENCIL; + +PIGLIT_GL_TEST_MAIN( + 650 /*window_width*/, + 200 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_STENCIL) + static const GLfloat Near = 5.0, Far = 25.0; |