[Piglit] [PATCH 2/3] arb_texture_view_rendering-formats: fix wrong array initialization
Sebastian Olender
sebastian.d.olender at intel.com
Tue Jan 10 14:38:55 UTC 2017
Signed-off-by: Sebastian Olender <sebastian.d.olender at intel.com>
---
tests/spec/arb_texture_view/rendering-formats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/arb_texture_view/rendering-formats.c b/tests/spec/arb_texture_view/rendering-formats.c
index 41b521a..44ab56b 100644
--- a/tests/spec/arb_texture_view/rendering-formats.c
+++ b/tests/spec/arb_texture_view/rendering-formats.c
@@ -1453,7 +1453,7 @@ create_test_clear_program(const struct format_info *base,
GLuint prog;
const char *sampler = "";
const char *conv = "";
- unsigned expected[4] = {};
+ unsigned expected[4] = {0};
unsigned i;
unsigned base_num_components = get_num_components(base);
bool test_nan = false;
--
2.7.4
More information about the Piglit
mailing list