summaryrefslogtreecommitdiff
path: root/tests/spec/arb_vertex_program/minmax.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/arb_vertex_program/minmax.c')
-rw-r--r--tests/spec/arb_vertex_program/minmax.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/spec/arb_vertex_program/minmax.c b/tests/spec/arb_vertex_program/minmax.c
index a7c7fe2ee..b58bc5482 100644
--- a/tests/spec/arb_vertex_program/minmax.c
+++ b/tests/spec/arb_vertex_program/minmax.c
@@ -27,9 +27,10 @@
#include "piglit-util.h"
-int piglit_width = 32;
-int piglit_height = 32;
-int piglit_window_mode = GLUT_DOUBLE | GLUT_RGB | GLUT_ALPHA;
+PIGLIT_GL_TEST_MAIN(
+ 32 /*window_width*/,
+ 32 /*window_height*/,
+ GLUT_DOUBLE | GLUT_RGB | GLUT_ALPHA)
enum piglit_result
piglit_display(void)