summaryrefslogtreecommitdiff
path: root/tests/hiz/hiz-depth-read-fbo-d24s8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hiz/hiz-depth-read-fbo-d24s8.c')
-rw-r--r--tests/hiz/hiz-depth-read-fbo-d24s8.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/hiz/hiz-depth-read-fbo-d24s8.c b/tests/hiz/hiz-depth-read-fbo-d24s8.c
index f41038733..fea0494fe 100644
--- a/tests/hiz/hiz-depth-read-fbo-d24s8.c
+++ b/tests/hiz/hiz-depth-read-fbo-d24s8.c
@@ -33,9 +33,10 @@
#include "piglit-util.h"
#include "hiz/hiz-util.h"
-int piglit_width = 400;
-int piglit_height = 400;
-int piglit_window_mode = GLUT_RGB;
+PIGLIT_GL_TEST_MAIN(
+ 400 /*window_width*/,
+ 400 /*window_height*/,
+ GLUT_RGB)
struct hiz_fbo_options fbo_options = {
GL_RGBA,