summaryrefslogtreecommitdiff
path: root/tests/texturing/shaders/texelFetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/shaders/texelFetch.c')
-rw-r--r--tests/texturing/shaders/texelFetch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/texturing/shaders/texelFetch.c b/tests/texturing/shaders/texelFetch.c
index 0d0205343..e9da3f7f9 100644
--- a/tests/texturing/shaders/texelFetch.c
+++ b/tests/texturing/shaders/texelFetch.c
@@ -78,8 +78,10 @@
*/
#include "common.h"
-int piglit_width = 355, piglit_height = 250;
-int piglit_window_mode = GLUT_RGBA | GLUT_DOUBLE;
+PIGLIT_GL_TEST_MAIN(
+ 355 /*window_width*/,
+ 250 /*window_height*/,
+ GLUT_RGBA | GLUT_DOUBLE)
/** Vertex shader attribute locations */
const int pos_loc = 0;