From 906c4f794e02904325cd61124e41d8868e78d3fa Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 6 Oct 2022 18:17:00 +0200 Subject: a --- src/wall-mesh.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wall-mesh.hpp b/src/wall-mesh.hpp index 56bd78ee..8daec2c1 100644 --- a/src/wall-mesh.hpp +++ b/src/wall-mesh.hpp @@ -37,7 +37,7 @@ private: GL::Mesh _mesh; GL::Buffer _vertex_buffer{vertex_array{}, Magnum::GL::BufferUsage::DynamicDraw}, - _index_buffer{make_index_array(), Magnum::GL::BufferUsage::StaticDraw}, + _index_buffer{make_index_array()}, _positions_buffer{make_position_array()}; static std::array, COUNT> make_index_array(); static std::array, COUNT> make_position_array(); -- cgit v1.2.3