summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerjointmesh_vec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerjointmesh_vec.cpp')
-rw-r--r--indra/newview/llviewerjointmesh_vec.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewerjointmesh_vec.cpp b/indra/newview/llviewerjointmesh_vec.cpp
index 69ddad63fc..c04c323800 100644
--- a/indra/newview/llviewerjointmesh_vec.cpp
+++ b/indra/newview/llviewerjointmesh_vec.cpp
@@ -25,11 +25,10 @@
// Generic vectorized code, uses compiler defaults, works well for Altivec
// on PowerPC.
-static LLV4Matrix4 sJointMat[32];
-
// static
void LLViewerJointMesh::updateGeometryVectorized(LLFace *face, LLPolyMesh *mesh)
{
+ static LLV4Matrix4 sJointMat[32];
LLDynamicArray<LLJointRenderData*>& joint_data = mesh->getReferenceMesh()->mJointRenderData;
S32 j, joint_num, joint_end = joint_data.count();
LLV4Vector3 pivot;