diff options
Diffstat (limited to 'tests/spec/ext_framebuffer_multisample/point-smooth.cpp')
-rw-r--r-- | tests/spec/ext_framebuffer_multisample/point-smooth.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/point-smooth.cpp b/tests/spec/ext_framebuffer_multisample/point-smooth.cpp index 287509fbe..f2ae5c78f 100644 --- a/tests/spec/ext_framebuffer_multisample/point-smooth.cpp +++ b/tests/spec/ext_framebuffer_multisample/point-smooth.cpp @@ -43,9 +43,10 @@ * halves of default framebuffer. There should be no difference. * */ -int piglit_width = 512; int piglit_height = 256; -int piglit_window_mode = - GLUT_DOUBLE | GLUT_RGBA | GLUT_ALPHA | GLUT_DEPTH | GLUT_STENCIL; + +PIGLIT_GL_TEST_MAIN(512 /*window_width*/, + 256 /*window_height*/, + GLUT_DOUBLE | GLUT_RGBA | GLUT_ALPHA | GLUT_DEPTH | GLUT_STENCIL); const int pattern_width = 256; const int pattern_height = 256; |