summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe-mesh.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-23 17:31:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-23 17:31:31 +0200
commitcce1f768e7399b838a2b865511915bdd576dbbf4 (patch)
tree4c6a8f2dc9112394fd329d56c0f628ce66b16467 /draw/wireframe-mesh.cpp
parent6b875a0919b9932eca9ed877552c34ecb220b7d8 (diff)
a
Diffstat (limited to 'draw/wireframe-mesh.cpp')
-rw-r--r--draw/wireframe-mesh.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/draw/wireframe-mesh.cpp b/draw/wireframe-mesh.cpp
index b0ba7676..3fc53c6c 100644
--- a/draw/wireframe-mesh.cpp
+++ b/draw/wireframe-mesh.cpp
@@ -46,5 +46,9 @@ void mesh_base::draw(tile_shader& shader)
shader.draw(_mesh);
}
+void mesh_base::set_subdata(Containers::ArrayView<const void> array)
+{
+ _vertex_buffer.setSubData(0, array);
+}
} // namespace floormat::wireframe