summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerjointmesh_sse2.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-21 15:11:16 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-21 15:11:16 +0100
commitab31e3bb217089e0cc28ca57bb5c4e46c06789dd (patch)
treeb398183e8f5a7ecf5593c6bb0a2a73cf3f2f1073 /indra/newview/llviewerjointmesh_sse2.cpp
parentcd13bc0e044d5014a0d7e131ae9d47924e376997 (diff)
Fix up the SSE stuff so it compiles on Linux. Though I don't think it actually works properly.
Diffstat (limited to 'indra/newview/llviewerjointmesh_sse2.cpp')
-rw-r--r--indra/newview/llviewerjointmesh_sse2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerjointmesh_sse2.cpp b/indra/newview/llviewerjointmesh_sse2.cpp
index 550044c321..58cd75871d 100644
--- a/indra/newview/llviewerjointmesh_sse2.cpp
+++ b/indra/newview/llviewerjointmesh_sse2.cpp
@@ -101,8 +101,8 @@ void LLViewerJointMesh::updateGeometrySSE2(LLFace *face, LLPolyMesh *mesh)
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])