diff options
Diffstat (limited to 'draw/anim.cpp')
-rw-r--r-- | draw/anim.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/draw/anim.cpp b/draw/anim.cpp index df3011da..6c7bb965 100644 --- a/draw/anim.cpp +++ b/draw/anim.cpp @@ -54,6 +54,7 @@ void anim_mesh::draw(tile_shader& shader, chunk& c) anim_atlas* bound = nullptr; [[maybe_unused]] std::size_t draw_count = 0; + fm_debug_assert(std::size_t(mesh_.count()) == size*quad_index_count); const auto do_draw = [&](std::size_t i, anim_atlas* atlas, std::uint32_t max_index, bool force) { if (!force && atlas == last.atlas) |