From a16deb8ee39dd56f4b68a2808e4f619fd8d58ce7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 2 Oct 2022 22:43:49 +0200 Subject: a --- wall-mesh.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wall-mesh.cpp') diff --git a/wall-mesh.cpp b/wall-mesh.cpp index ae7cf0c8..9d107fcb 100644 --- a/wall-mesh.cpp +++ b/wall-mesh.cpp @@ -78,8 +78,7 @@ void wall_mesh::draw(tile_shader& shader, chunk& c) decltype(wall_mesh::_index_data) wall_mesh::make_index_array() { - constexpr auto quad_index_count = std::tuple_size_v; - std::array, COUNT> array; // NOLINT(cppcoreguidelines-pro-type-member-init) + std::array, COUNT> array = {}; for (std::size_t i = 0; i < std::size(array); i++) array[i] = tile_atlas::indices(i); -- cgit v1.2.3