summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <gavriliuk@gmail.com>2024-01-05 19:45:58 +0100
committerAlexander Gavriliuk <gavriliuk@gmail.com>2024-01-05 19:45:58 +0100
commita1c36a3218a7fe6eb7b646e64c6bf9bc29b24886 (patch)
tree8077640769705a15fbcecb08a0cd5333175b275b /indra
parenta7dcb0df2a11377b1112dfa0720e876507e1ae3d (diff)
DRTVWR-489 MacOS Release build fix (vertex_count and index_count aren't used)
Diffstat (limited to 'indra')
-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