summaryrefslogtreecommitdiff
path: root/indra/newview/llvotree.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2017-11-14 19:50:17 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2017-11-14 19:50:17 +0200
commit02e418a5cdb109ea626ad7677ff223e464cc220a (patch)
tree85e427e95c3ba06ae2e7083a0ba7a4463ac9f740 /indra/newview/llvotree.cpp
parent6502e8bf33e6775d160ec90c666bb507bd9bb242 (diff)
MAINT-7228 Dummy triangle should use map instead of offset (in case of VBO)
Diffstat (limited to 'indra/newview/llvotree.cpp')
-rw-r--r--indra/newview/llvotree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvotree.cpp b/indra/newview/llvotree.cpp
index 5193d3bb0e..369ddebe2d 100644
--- a/indra/newview/llvotree.cpp
+++ b/indra/newview/llvotree.cpp
@@ -897,7 +897,7 @@ void LLVOTree::updateMesh()
<< index_count << " indices" << LL_ENDL;
buff->allocateBuffer(1, 3, true);
memset((U8*)buff->getMappedData(), 0, buff->getSize());
- memset((U8*)buff->getIndicesPointer(), 0, buff->getIndicesSize());
+ memset((U8*)buff->getMappedIndices(), 0, buff->getIndicesSize());
facep->setSize(1, 3);
facep->setVertexBuffer(buff);
mReferenceBuffer->flush();