summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-09 11:45:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-09 11:45:34 +0100
commitff3a18b1a251a5e85057e52303efa0cdd79e8a66 (patch)
tree44c2f3a6f69bc922d71063debd14ba669c74ca0d /draw/wireframe.hpp
parentb4770eb85369e91cbf800e8192dac0d8c0c627cf (diff)
add floor mesh to struct chunk
Diffstat (limited to 'draw/wireframe.hpp')
-rw-r--r--draw/wireframe.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wireframe.hpp b/draw/wireframe.hpp
index 9d736419..1d58ff43 100644
--- a/draw/wireframe.hpp
+++ b/draw/wireframe.hpp
@@ -52,7 +52,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
+ //_texcoord_buffer.setData({nullptr, sizeof(Vector3) * T::num_vertices}, GL::BufferUsage::DynamicDraw); // orphan the buffer
set_subdata(x.make_vertex_array());
x.on_draw();
mesh_base::draw(shader);