summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-blit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-blit.c')
-rw-r--r--tests/fbo/fbo-blit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/fbo/fbo-blit.c b/tests/fbo/fbo-blit.c
index c1b8b2a81..5b4c697a9 100644
--- a/tests/fbo/fbo-blit.c
+++ b/tests/fbo/fbo-blit.c
@@ -36,9 +36,11 @@
#include "piglit-util.h"
-int piglit_width = 150;
-int piglit_height = 150;
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
+PIGLIT_GL_TEST_MAIN(
+ 150 /*window_width*/,
+ 150 /*window_height*/,
+ GLUT_RGB | GLUT_DOUBLE)
+
#define PAD 10
#define SIZE 20