summaryrefslogtreecommitdiff
path: root/tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c')
-rw-r--r--tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c b/tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c
index d4c9ac8ac..2a915c143 100644
--- a/tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c
+++ b/tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c
@@ -29,8 +29,10 @@
*/
#include "piglit-util.h"
-int piglit_width = 100, piglit_height = 100;
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
+PIGLIT_GL_TEST_MAIN(
+ 100 /*window_width*/,
+ 100 /*window_height*/,
+ GLUT_RGB | GLUT_DOUBLE)
enum piglit_result
piglit_display(void)