summaryrefslogtreecommitdiff
path: root/tests/spec/arb_draw_instanced/execution/dlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/arb_draw_instanced/execution/dlist.c')
-rw-r--r--tests/spec/arb_draw_instanced/execution/dlist.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/spec/arb_draw_instanced/execution/dlist.c b/tests/spec/arb_draw_instanced/execution/dlist.c
index f944ca4c2..bdc9940ad 100644
--- a/tests/spec/arb_draw_instanced/execution/dlist.c
+++ b/tests/spec/arb_draw_instanced/execution/dlist.c
@@ -35,9 +35,10 @@
* during display list compilation."
*/
-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)