summaryrefslogtreecommitdiff
path: root/indra/newview/llvotree.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <gavriliuk@gmail.com>2024-01-05 19:45:58 +0100
committerAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-01-05 19:58:26 +0100
commitf62b8591a29481ce882b1e50246f848475d3fb6a (patch)
tree31d14d676ca10e26a57249f72e8e0614e1b431ad /indra/newview/llvotree.cpp
parent74c8b028d42a8c5b080bb861e427f38cedd4ad7c (diff)
DRTVWR-489 MacOS Release build fix (vertex_count and index_count aren't used)
Diffstat (limited to 'indra/newview/llvotree.cpp')
-rw-r--r--indra/newview/llvotree.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvotree.cpp b/indra/newview/llvotree.cpp
index 36e6da802b..575b1dbe7e 100644
--- a/indra/newview/llvotree.cpp
+++ b/indra/newview/llvotree.cpp
@@ -865,6 +865,10 @@ BOOL LLVOTree::updateGeometry(LLDrawable *drawable)
mReferenceBuffer->unmapBuffer();
llassert(vertex_count == max_vertices);
llassert(index_count == max_indices);
+#ifndef SHOW_ASSERT
+ (void)vertex_count;
+ (void)index_count;
+#endif
}
//generate tree mesh