summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-20 08:13:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-20 08:35:24 +0200
commit492950224cb06b08490d81e06af68b5fbbb6aab6 (patch)
treeb0c970aae779be3475af6894cf10322f087165c1 /draw
parent263ab79f393c5b500497448ecaa949a8b8daeb53 (diff)
c
Diffstat (limited to 'draw')
-rw-r--r--draw/anim.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/draw/anim.cpp b/draw/anim.cpp
index 5c1f61a7..a5dddebe 100644
--- a/draw/anim.cpp
+++ b/draw/anim.cpp
@@ -65,7 +65,6 @@ void anim_mesh::draw(tile_shader& shader, const Vector2i& win_size, chunk& c, Ar
constexpr auto quad_index_count = 6;
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);
uint32_t i = 0;