summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r--indra/newview/lldrawpoolavatar.cpp4
1 files changed, 2 insertions, 2 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());
}
}