summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/spec/gl-1.0/rendermode-feedback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/spec/gl-1.0/rendermode-feedback.c b/tests/spec/gl-1.0/rendermode-feedback.c
index 2260370a3..3a46ab4b7 100644
--- a/tests/spec/gl-1.0/rendermode-feedback.c
+++ b/tests/spec/gl-1.0/rendermode-feedback.c
@@ -101,14 +101,13 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
piglit_config = &config;
- struct piglit_subtest tests[ARRAY_SIZE(types) + 1];
+ struct piglit_subtest tests[ARRAY_SIZE(types) + 1] = {};
for (unsigned i = 0; i < ARRAY_SIZE(types); ++i) {
tests[i].name = piglit_get_gl_enum_name(types[i].type);
tests[i].option = tests[i].name;
tests[i].subtest_func = run_subtest;
tests[i].data = (void *)&types[i];
}
- tests[ARRAY_SIZE(types)] = (struct piglit_subtest){ 0 };
config.subtests = tests;
config.supports_gl_compat_version = 10;