summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-drawbuffers2-blend.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-drawbuffers2-blend.c')
-rw-r--r--tests/fbo/fbo-drawbuffers2-blend.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/fbo/fbo-drawbuffers2-blend.c b/tests/fbo/fbo-drawbuffers2-blend.c
index c73591b5b..be41ab821 100644
--- a/tests/fbo/fbo-drawbuffers2-blend.c
+++ b/tests/fbo/fbo-drawbuffers2-blend.c
@@ -33,9 +33,10 @@
#include "piglit-util.h"
-int piglit_width = 128;
-int piglit_height = 128;
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
+PIGLIT_GL_TEST_MAIN(
+ 128 /*window_width*/,
+ 128 /*window_height*/,
+ GLUT_RGB | GLUT_DOUBLE)
static GLuint
attach_texture(int i)