diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-14 10:29:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-14 10:30:16 +0200 |
commit | e900975255452b70f7474b78050b9c6342912cfe (patch) | |
tree | e92e92f804a9cc1c363dad61408e8880741ee961 /draw/anim.cpp | |
parent | c077f0f904cce505e15543b855b4330ca547b53d (diff) |
remove some useless casts
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 e83bf5e5..12d5d0c4 100644 --- a/draw/anim.cpp +++ b/draw/anim.cpp @@ -77,7 +77,7 @@ void anim_mesh::draw(tile_shader& shader, const Vector2i& win_size, chunk& c, st { fm_assert(i < size); GL::MeshView mesh{mesh_}; - mesh.setCount((int)(quad_index_count * 1)); + mesh.setCount(quad_index_count * 1); mesh.setIndexOffset((int)(x.mesh_idx*quad_index_count), 0, max_index); shader.draw(atlas.texture(), mesh); i++; |