diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-11-14 20:35:07 +0200 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-11-14 20:35:07 +0200 |
commit | 627abf0957cdd1db6edd7f7adff8e17031f22802 (patch) | |
tree | 4b93c3c57f7238e47407ac8c1728a88098c9e121 /indra/newview/llvoavatar.cpp | |
parent | e2e23eb5cba261944ec2d4faae3da010d4290f6f (diff) | |
parent | 02e418a5cdb109ea626ad7677ff223e464cc220a (diff) |
Merged in lindenlab/viewer-lynx
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()); } } } |