summaryrefslogtreecommitdiff
path: root/tests/spec/ext_transform_feedback/alignment.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/ext_transform_feedback/alignment.c')
-rw-r--r--tests/spec/ext_transform_feedback/alignment.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/spec/ext_transform_feedback/alignment.c b/tests/spec/ext_transform_feedback/alignment.c
index 309082abd..9e8bc72cb 100644
--- a/tests/spec/ext_transform_feedback/alignment.c
+++ b/tests/spec/ext_transform_feedback/alignment.c
@@ -36,9 +36,10 @@
#define BUFFER_SIZE 0x40
-int piglit_width = 10;
-int piglit_height = 10;
-int piglit_window_mode = GLUT_DOUBLE | GLUT_RGB | GLUT_ALPHA;
+PIGLIT_GL_TEST_MAIN(
+ 10 /*window_width*/,
+ 10 /*window_height*/,
+ GLUT_DOUBLE | GLUT_RGB | GLUT_ALPHA)
/* Test parameters */
static unsigned long additional_offset;