summaryrefslogtreecommitdiff
path: root/tests/spec/gl-3.0/api/integer-errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/gl-3.0/api/integer-errors.c')
-rw-r--r--tests/spec/gl-3.0/api/integer-errors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/spec/gl-3.0/api/integer-errors.c b/tests/spec/gl-3.0/api/integer-errors.c
index 2587ef40e..f26e59287 100644
--- a/tests/spec/gl-3.0/api/integer-errors.c
+++ b/tests/spec/gl-3.0/api/integer-errors.c
@@ -30,9 +30,9 @@
#include "piglit-util.h"
-int piglit_width = 100, piglit_height = 100;
-int piglit_window_mode = GLUT_RGB | GLUT_ALPHA | GLUT_DOUBLE;
-
+PIGLIT_GL_TEST_MAIN(100 /*window_width*/,
+ 100 /*window_height*/,
+ GLUT_RGB | GLUT_ALPHA | GLUT_DOUBLE);
static bool
test_api_errors(void)