diff options
Diffstat (limited to 'draw/anim.cpp')
-rw-r--r-- | draw/anim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/anim.cpp b/draw/anim.cpp index b99b02e3..b24dffa7 100644 --- a/draw/anim.cpp +++ b/draw/anim.cpp @@ -59,7 +59,7 @@ void anim_mesh::draw(tile_shader& shader, const Vector2i& win_size, chunk& c, st { constexpr auto quad_index_count = 6; - auto [mesh_, es, size] = c.ensure_scenery_mesh(_draw_array); + auto [mesh_, es, size] = c.ensure_scenery_mesh({ _draw_array, _draw_vertexes, _draw_indexes }); GL::MeshView mesh{mesh_}; const auto max_index = uint32_t(size*quad_index_count - 1); |