DRTVWR-489 MacOS Release build fix (vertex_count and index_count aren't used)

master
Alexander Gavriliuk 2024-01-05 19:45:58 +01:00
parent a7dcb0df2a
commit a1c36a3218
1 changed files with 4 additions and 0 deletions

View File

@ -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