diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:17:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:17:00 +0200 |
commit | 906c4f794e02904325cd61124e41d8868e78d3fa (patch) | |
tree | 6f64dc6baa22903018994c1a9deed5cb436b762d | |
parent | 5dbc992e2128029eca31b908eb799871c80cdef6 (diff) |
a
-rw-r--r-- | src/wall-mesh.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::array<UnsignedShort, 6>, COUNT> make_index_array(); static std::array<std::array<Vector3, 4>, COUNT> make_position_array(); |