summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-uniform-out-of-bounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-uniform-out-of-bounds.c')
-rw-r--r--tests/shaders/glsl-uniform-out-of-bounds.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/shaders/glsl-uniform-out-of-bounds.c b/tests/shaders/glsl-uniform-out-of-bounds.c
index 773dbfc8d..56f1b747c 100644
--- a/tests/shaders/glsl-uniform-out-of-bounds.c
+++ b/tests/shaders/glsl-uniform-out-of-bounds.c
@@ -37,9 +37,10 @@
#include "piglit-util.h"
#include "piglit-framework.h"
-int piglit_width = 100, piglit_height = 100;
-int piglit_window_mode = GLUT_RGB;
-
+PIGLIT_GL_TEST_MAIN(
+ 100 /*window_width*/,
+ 100 /*window_height*/,
+ GLUT_RGB)
static void expect_error(GLenum expect, const char * where, ...)
{