From e1e539709d6e197cd2f2118e14598fd8c7b42c7b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 7 Oct 2022 14:15:25 +0200 Subject: . --- src/wall-mesh.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wall-mesh.hpp') diff --git a/src/wall-mesh.hpp b/src/wall-mesh.hpp index e9678e3e..e23799f4 100644 --- a/src/wall-mesh.hpp +++ b/src/wall-mesh.hpp @@ -19,7 +19,7 @@ struct wall_mesh final void draw(tile_shader& shader, chunk& c); private: - static constexpr auto COUNT1 = TILE_MAX_DIM*2, COUNT = COUNT1 * COUNT1; + static constexpr auto COUNT = TILE_MAX_DIM*2 * TILE_MAX_DIM*2; struct vertex final { std::array texcoords; -- cgit v1.2.3