summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_objects/clear-with-deleted.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/arb_shader_objects/clear-with-deleted.c')
-rw-r--r--tests/spec/arb_shader_objects/clear-with-deleted.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/spec/arb_shader_objects/clear-with-deleted.c b/tests/spec/arb_shader_objects/clear-with-deleted.c
index 38d0348bb..756523750 100644
--- a/tests/spec/arb_shader_objects/clear-with-deleted.c
+++ b/tests/spec/arb_shader_objects/clear-with-deleted.c
@@ -32,9 +32,10 @@
* early).
*/
-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)
static const char *vs_source =
"void main()\n"