summaryrefslogtreecommitdiff
path: root/tests/shaders/sso-uniforms-01.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/sso-uniforms-01.c')
-rw-r--r--tests/shaders/sso-uniforms-01.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shaders/sso-uniforms-01.c b/tests/shaders/sso-uniforms-01.c
index 23c86da42..745122832 100644
--- a/tests/shaders/sso-uniforms-01.c
+++ b/tests/shaders/sso-uniforms-01.c
@@ -34,8 +34,10 @@
*/
#include "piglit-util.h"
-int piglit_width = 30, piglit_height = 30;
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
+PIGLIT_GL_TEST_MAIN(
+ 30 /*window_width*/,
+ 30 /*window_height*/,
+ GLUT_RGB | GLUT_DOUBLE)
static const char vs_text[] =
"uniform vec4 color;\n"