summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerjointmesh_sse.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-17 18:47:51 -0400
committerOz Linden <oz@lindenlab.com>2011-05-17 18:47:51 -0400
commitcb936d097fd40c743895cb35fce6b292c66e5210 (patch)
treec554c33c7576aa567ca2b32ad06ee9af83977059 /indra/newview/llviewerjointmesh_sse.cpp
parent32313dd3c6396324ea8f13285a69c01f38fe1cfc (diff)
parentbd37b14e9217935b9d70faf04c835c9d4aeda9c7 (diff)
pull back fix for STORM-1260 from beta branch
Diffstat (limited to 'indra/newview/llviewerjointmesh_sse.cpp')
-rw-r--r--indra/newview/llviewerjointmesh_sse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewerjointmesh_sse.cpp b/indra/newview/llviewerjointmesh_sse.cpp
index 174b6eae29..400b49d046 100644
--- a/indra/newview/llviewerjointmesh_sse.cpp
+++ b/indra/newview/llviewerjointmesh_sse.cpp
@@ -83,13 +83,13 @@ void LLViewerJointMesh::updateGeometrySSE(LLFace *face, LLPolyMesh *mesh)
LLStrider<LLVector3> o_vertices;
LLStrider<LLVector3> o_normals;
- LLVertexBuffer *buffer = face->mVertexBuffer;
+ LLVertexBuffer *buffer = face->getVertexBuffer();
buffer->getVertexStrider(o_vertices, mesh->mFaceVertexOffset);
buffer->getNormalStrider(o_normals, mesh->mFaceVertexOffset);
const F32* weights = mesh->getWeights();
- const LLVector3* coords = mesh->getCoords();
- const LLVector3* normals = mesh->getNormals();
+ const LLVector3* coords = (const LLVector3*)mesh->getCoords();
+ const LLVector3* normals = (const LLVector3*)mesh->getNormals();
for (U32 index = 0, index_end = mesh->getNumVertices(); index < index_end; ++index)
{
if( weight != weights[index])