summaryrefslogtreecommitdiff
path: root/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c')
-rw-r--r--tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c b/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
index 9010e8b0f..d36f1c3af 100644
--- a/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
+++ b/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
@@ -32,9 +32,10 @@
* page 180 "Required Texture Formats".
*/
-int piglit_width = 32;
-int piglit_height = 32;
-int piglit_window_mode = GLUT_DOUBLE | GLUT_RGB | GLUT_ALPHA;
+PIGLIT_GL_TEST_MAIN(
+ 32 /*window_width*/,
+ 32 /*window_height*/,
+ GLUT_DOUBLE | GLUT_RGB | GLUT_ALPHA)
enum piglit_result
piglit_display(void)