diff options
Diffstat (limited to 'tests/general/readpix-z.c')
-rw-r--r-- | tests/general/readpix-z.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/general/readpix-z.c b/tests/general/readpix-z.c index 51867685b..b7506b049 100644 --- a/tests/general/readpix-z.c +++ b/tests/general/readpix-z.c @@ -29,10 +29,9 @@ #include "piglit-util.h" -int piglit_width = 200, piglit_height = 200; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH; - - +PIGLIT_GL_TEST_MAIN(200 /*window_width*/, + 200 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH); static void draw_z_gradient(GLfloat zLeft, GLfloat zRight) |