diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-20 15:23:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-20 15:23:50 +0200 |
commit | 1ec8e253172112e0f2bb98426c8d0ad900addfe7 (patch) | |
tree | 9f7f6ea3bda9eef2ef34e395de466b6761a0480f /draw/wall-mesh.cpp | |
parent | b2f30235c9a2b11adc31567b044beb04ec7ac3e6 (diff) |
a
Diffstat (limited to 'draw/wall-mesh.cpp')
-rw-r--r-- | draw/wall-mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wall-mesh.cpp b/draw/wall-mesh.cpp index c15be873..dfbb739e 100644 --- a/draw/wall-mesh.cpp +++ b/draw/wall-mesh.cpp @@ -39,7 +39,7 @@ void wall_mesh::maybe_add_tile(vertex_array& data, texture_array& textures, tile void wall_mesh::draw(tile_shader& shader, chunk& c) { - _vertex_buffer.setData({nullptr, sizeof(vertex_array)}, Magnum::GL::BufferUsage::DynamicDraw); // orphan the buffer + //_vertex_buffer.setData({nullptr, sizeof(vertex_array)}, Magnum::GL::BufferUsage::DynamicDraw); // orphan the buffer texture_array textures = {}; { vertex_array data; |