diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 4 | ||||
-rw-r--r-- | indra/newview/llvoavatar.cpp | 4 | ||||
-rw-r--r-- | indra/newview/llvotree.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index e38c7ee080..8128790eb6 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -1494,7 +1494,7 @@ void LLDrawPoolAvatar::getRiggedGeometry( // allocate dummy triangle buffer->allocateBuffer(1, 3, true); memset((U8*)buffer->getMappedData(), 0, buffer->getSize()); - memset((U8*)buffer->getIndicesPointer(), 0, buffer->getIndicesSize()); + memset((U8*)buffer->getMappedIndices(), 0, buffer->getIndicesSize()); } } else @@ -1508,7 +1508,7 @@ void LLDrawPoolAvatar::getRiggedGeometry( // allocate dummy triangle buffer->resizeBuffer(1, 3); memset((U8*)buffer->getMappedData(), 0, buffer->getSize()); - memset((U8*)buffer->getIndicesPointer(), 0, buffer->getIndicesSize()); + memset((U8*)buffer->getMappedIndices(), 0, buffer->getIndicesSize()); } } diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 33ab188704..eae8f2cc56 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -2094,7 +2094,7 @@ void LLVOAvatar::updateMeshData() facep->setSize(1, 3); 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->setVertexBuffer(buff); } @@ -2114,7 +2114,7 @@ void LLVOAvatar::updateMeshData() facep->setSize(1, 3); buff->resizeBuffer(1, 3); memset((U8*) buff->getMappedData(), 0, buff->getSize()); - memset((U8*) buff->getIndicesPointer(), 0, buff->getIndicesSize()); + memset((U8*) buff->getMappedIndices(), 0, buff->getIndicesSize()); } } } 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(); |