From 3c2d90403b205234bbffdce54a718f35d663c717 Mon Sep 17 00:00:00 2001 From: eihrul Date: Sat, 11 Feb 2012 17:25:12 +0000 Subject: [PATCH] skeleton object openglorientation fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11679 d7cf8633-e32d-0410-b094-e92efae38249 --- mod_skeletal_animatevertices_sse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mod_skeletal_animatevertices_sse.c b/mod_skeletal_animatevertices_sse.c index a25a9224..7a25a6ca 100644 --- a/mod_skeletal_animatevertices_sse.c +++ b/mod_skeletal_animatevertices_sse.c @@ -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)) -- 2.39.2