diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-22 04:35:02 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-22 04:35:02 -0500 |
commit | 4d57cb3c0975ff0bcea0d6fb3498f2d90962ff16 (patch) | |
tree | 09f22534b7ae5b066ae7fa1b2b9332df791c8ae0 /indra/newview/lldrawpoolavatar.cpp | |
parent | 8919f4811a7dcaf47dc58159e0ba4ba042183325 (diff) |
Vectorize/memory align buffers in llvolumeface WIP
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 4fb8f5266e..0fa0e80cb7 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -1201,14 +1201,14 @@ void LLDrawPoolAvatar::updateRiggedFaceVertexBuffer(LLFace* face, const LLMeshSk if (!buff || buff->getTypeMask() != data_mask || - buff->getRequestedVerts() != vol_face.mVertices.size()) + buff->getRequestedVerts() != vol_face.mNumVertices) { face->setGeomIndex(0); face->setIndicesIndex(0); - face->setSize(vol_face.mVertices.size(), vol_face.mIndices.size()); + face->setSize(vol_face.mNumVertices, vol_face.mNumIndices); face->mVertexBuffer = new LLVertexBuffer(data_mask, 0); - face->mVertexBuffer->allocateBuffer(vol_face.mVertices.size(), vol_face.mIndices.size(), true); + face->mVertexBuffer->allocateBuffer(vol_face.mNumVertices, vol_face.mNumIndices, true); U16 offset = 0; |