From 88e10efe2f26e3f40a391d01ab131348c774fd65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20L=C3=B6rwald?= Date: Thu, 12 Dec 2024 17:44:50 +0100 Subject: [PATCH] more -Wmissing-braces --- src/noggit/MapChunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/noggit/MapChunk.h b/src/noggit/MapChunk.h index 0c5eb0a17..2a4352392 100644 --- a/src/noggit/MapChunk.h +++ b/src/noggit/MapChunk.h @@ -45,7 +45,7 @@ class MapChunk static constexpr int max_indices_count_without_lod = 8 * 8 * 4 * 3; // 8x8 squares with 4 triangls static constexpr int lod_count = 4; // max 4, last lod level is a single quad for the chunk (which doesn't look good) static constexpr int indice_buffer_count = lod_count + 1; - static constexpr std::array max_indices_per_lod_level = { 768, 384, 96, 24, 6 }; + static constexpr std::array max_indices_per_lod_level = {{768, 384, 96, 24, 6}}; static constexpr int total_indices_count_with_lods() {