summaryrefslogtreecommitdiff
path: root/tests/bugs/fdo28551.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/fdo28551.c')
-rw-r--r--tests/bugs/fdo28551.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/bugs/fdo28551.c b/tests/bugs/fdo28551.c
index 3a0de62ea..cf4ea8e17 100644
--- a/tests/bugs/fdo28551.c
+++ b/tests/bugs/fdo28551.c
@@ -26,10 +26,10 @@
#include "piglit-util.h"
-
-int piglit_width = 100;
-int piglit_height = 100;
-int piglit_window_mode = GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH | GLUT_STENCIL;
+PIGLIT_GL_TEST_MAIN(
+ 100 /*window_width*/,
+ 100 /*window_height*/,
+ GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH | GLUT_STENCIL)
enum piglit_result
piglit_display(void)