skeleton object openglorientation fix
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Feb 2012 17:25:12 +0000 (17:25 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Feb 2012 17:25:12 +0000 (17:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11679 d7cf8633-e32d-0410-b094-e92efae38249

mod_skeletal_animatevertices_sse.c

index a25a922..7a25a6c 100644 (file)
@@ -43,6 +43,7 @@ void Mod_Skeletal_AnimateVertices_SSE(const dp_model_t * RESTRICT model, const f
                                const matrix4x4_t * RESTRICT p = &bonepose[model->data_bones[i].parent];
                                __m128 s0 = _mm_loadu_ps(s->m[0]), s1 = _mm_loadu_ps(s->m[1]), s2 = _mm_loadu_ps(s->m[2]);
 #ifdef OPENGLORIENTATION
+                               __m128 s3 = _mm_loadu_ps(s->m[3]);
 #define SKELETON_MATRIX(r, c) _mm_shuffle_ps(s##c, s##c, _MM_SHUFFLE(r, r, r, r))
 #else
 #define SKELETON_MATRIX(r, c) _mm_shuffle_ps(s##r, s##r, _MM_SHUFFLE(c, c, c, c))