summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-06 15:31:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-06 15:32:14 +0200
commit75c1012ce51703a36f01463aef081a8343d35561 (patch)
tree8d11a94dad4a26cc5ec56f4f698d02fd669dc7e6 /draw
parentdabaf3e507484cc9648661bfb1e837407242cff4 (diff)
c
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);