summaryrefslogtreecommitdiff
path: root/tests/texturing/tex3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/tex3d.c')
-rw-r--r--tests/texturing/tex3d.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/texturing/tex3d.c b/tests/texturing/tex3d.c
index 42c24a046..272379be2 100644
--- a/tests/texturing/tex3d.c
+++ b/tests/texturing/tex3d.c
@@ -28,8 +28,10 @@
#include "piglit-util.h"
-int piglit_width = 128, piglit_height = 128;
-int piglit_window_mode = GLUT_RGB | GLUT_ALPHA;
+PIGLIT_GL_TEST_MAIN(
+ 128 /*window_width*/,
+ 128 /*window_height*/,
+ GLUT_RGB | GLUT_ALPHA)
static GLuint Texture;