]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
skeleton object openglorientation fix
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Feb 2012 17:25:12 +0000 (17:25 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 9 Mar 2012 19:00:14 +0000 (20:00 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11679 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=3c2d90403b205234bbffdce54a718f35d663c717

mod_skeletal_animatevertices_sse.c

index a25a9224143d4919697305b6bafce3faba23a671..7a25a6ca7c8d2cdb3e7388d490c7dbbe7bb9b698 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))