summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-arb-fragment-coord-conventions.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-arb-fragment-coord-conventions.c')
-rw-r--r--tests/shaders/glsl-arb-fragment-coord-conventions.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shaders/glsl-arb-fragment-coord-conventions.c b/tests/shaders/glsl-arb-fragment-coord-conventions.c
index e6f81a5a0..99953b088 100644
--- a/tests/shaders/glsl-arb-fragment-coord-conventions.c
+++ b/tests/shaders/glsl-arb-fragment-coord-conventions.c
@@ -33,8 +33,10 @@
#include "piglit-util.h"
-int piglit_width = 100, piglit_height = 100;
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
+PIGLIT_GL_TEST_MAIN(
+ 100 /*window_width*/,
+ 100 /*window_height*/,
+ GLUT_RGB | GLUT_DOUBLE)
static const float black[4] = {0.0, 0.0, 0.0, 0.0};
static const float red[4] = {1.0, 0.0, 0.0, 0.0};