summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe-mesh.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-20 15:23:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-20 15:23:50 +0200
commit1ec8e253172112e0f2bb98426c8d0ad900addfe7 (patch)
tree9f7f6ea3bda9eef2ef34e395de466b6761a0480f /draw/wireframe-mesh.hpp
parentb2f30235c9a2b11adc31567b044beb04ec7ac3e6 (diff)
a
Diffstat (limited to 'draw/wireframe-mesh.hpp')
-rw-r--r--draw/wireframe-mesh.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wireframe-mesh.hpp b/draw/wireframe-mesh.hpp
index 40471f8d..67b35ecd 100644
--- a/draw/wireframe-mesh.hpp
+++ b/draw/wireframe-mesh.hpp
@@ -55,7 +55,7 @@ wireframe_mesh<T>::wireframe_mesh() :
template <wireframe::traits T> void wireframe_mesh<T>::draw(tile_shader& shader, T x)
{
- _vertex_buffer.setData({nullptr, sizeof(Vector3) * T::num_vertices}, GL::BufferUsage::DynamicDraw); // orphan the buffer
+ //_vertex_buffer.setData({nullptr, sizeof(Vector3) * T::num_vertices}, GL::BufferUsage::DynamicDraw); // orphan the buffer
_vertex_buffer.setSubData(0, x.make_vertex_array());
x.on_draw();
mesh_base::draw(shader);