summaryrefslogtreecommitdiff
path: root/tests/bugs/crash-cubemap-order.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/crash-cubemap-order.c')
-rw-r--r--tests/bugs/crash-cubemap-order.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/bugs/crash-cubemap-order.c b/tests/bugs/crash-cubemap-order.c
index d8a59d2ca..2d07fc059 100644
--- a/tests/bugs/crash-cubemap-order.c
+++ b/tests/bugs/crash-cubemap-order.c
@@ -8,8 +8,10 @@
#include "piglit-util.h"
-int piglit_width = 100, piglit_height = 100;
-int piglit_window_mode = GLUT_DOUBLE | GLUT_RGBA;
+PIGLIT_GL_TEST_MAIN(
+ 100 /*window_width*/,
+ 100 /*window_height*/,
+ GLUT_DOUBLE | GLUT_RGBA)
enum piglit_result
piglit_display(void)