]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix missing restrict keyword
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 10 Feb 2010 03:53:27 +0000 (03:53 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 10 Feb 2010 03:53:27 +0000 (03:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9948 d7cf8633-e32d-0410-b094-e92efae38249

model_alias.c

index 73136366306f157e813b32e37bbd100dbbe3ca58..03b15a92c8a36d2d74ca12286220671cc735c402 100644 (file)
@@ -279,7 +279,7 @@ void Mod_Skeletal_AnimateVertices(const dp_model_t * RESTRICT model, const frame
                const unsigned short * RESTRICT b = model->surfmesh.blends;
                for (i = 0;i < model->surfmesh.num_vertices;i++, sv += 3, b++, svector3f += 3)
                {
-                       const float *m = boneposerelative[*b];
+                       const float * RESTRICT m = boneposerelative[*b];
                        svector3f[0] = (sv[0] * m[0] + sv[1] * m[1] + sv[2] * m[ 2]);
                        svector3f[1] = (sv[0] * m[4] + sv[1] * m[5] + sv[2] * m[ 6]);
                        svector3f[2] = (sv[0] * m[8] + sv[1] * m[9] + sv[2] * m[10]);