summaryrefslogtreecommitdiff
path: root/tests/texturing/tex-miplevel-selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/tex-miplevel-selection.c')
-rw-r--r--tests/texturing/tex-miplevel-selection.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/texturing/tex-miplevel-selection.c b/tests/texturing/tex-miplevel-selection.c
index c065836f8..7625315d1 100644
--- a/tests/texturing/tex-miplevel-selection.c
+++ b/tests/texturing/tex-miplevel-selection.c
@@ -32,9 +32,10 @@
#include "piglit-util.h"
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
-int piglit_width = 900;
-int piglit_height = 600;
+PIGLIT_GL_TEST_MAIN(
+ 900 /*window_width*/,
+ 600 /*window_height*/,
+ GLUT_RGB | GLUT_DOUBLE)
#define TEX_WIDTH 32
#define TEX_HEIGHT 32