diff options
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } } } |