summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
Diffstat (limited to 'draw')
-rw-r--r--draw/anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/anim.cpp b/draw/anim.cpp
index 1c593ded..728242b1 100644
--- a/draw/anim.cpp
+++ b/draw/anim.cpp
@@ -64,7 +64,7 @@ uint32_t get_contig_draw_max_len(ArrayView<const chunk::object_draw_order> array
return len;
}
-minmax_s get_contig_draw_len(ArrayView<const chunk::object_draw_order> array, uint32_t start)
+[[maybe_unused]] minmax_s get_contig_draw_len(ArrayView<const chunk::object_draw_order> array, uint32_t start)
{
auto r = minmax_s { .len = 1, .min = array[start].mesh_idx, };
auto len = get_contig_draw_max_len(array, start);