diff options
author | Alexander Gavriliuk <gavriliuk@gmail.com> | 2024-01-05 19:45:58 +0100 |
---|---|---|
committer | Alexander Gavriliuk <gavriliuk@gmail.com> | 2024-01-05 19:45:58 +0100 |
commit | a1c36a3218a7fe6eb7b646e64c6bf9bc29b24886 (patch) | |
tree | 8077640769705a15fbcecb08a0cd5333175b275b /indra/newview | |
parent | a7dcb0df2a11377b1112dfa0720e876507e1ae3d (diff) |
DRTVWR-489 MacOS Release build fix (vertex_count and index_count aren't used)
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llvotree.cpp | 4 |
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 |