Skip to content

Commit

Permalink
more -Wmissing-braces
Browse files Browse the repository at this point in the history
  • Loading branch information
bloerwald committed Dec 12, 2024
1 parent 7d347ae commit 88e10ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noggit/MapChunk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<int, 5> max_indices_per_lod_level = { 768, 384, 96, 24, 6 };
static constexpr std::array<int, 5> max_indices_per_lod_level = {{768, 384, 96, 24, 6}};

static constexpr int total_indices_count_with_lods()
{
Expand Down

0 comments on commit 88e10ef

Please sign in to comment.