]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
variable declaration after function call... oops
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Mar 2005 11:35:38 +0000 (11:35 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Mar 2005 11:35:38 +0000 (11:35 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5032 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 5114da7cfbd30fe721429fe8990223987b47d744..31d4a4f89a42f79bf2d4ae33c21eba87fb2d05e0 100644 (file)
@@ -924,8 +924,8 @@ void R_DrawSurfaceList(entity_render_t *ent, texture_t *texture, int texturenums
 {
        int texturesurfaceindex;
        vec3_t center, modelorg;
-       Matrix4x4_Transform(&ent->inversematrix, r_vieworigin, modelorg);
        rmeshstate_t m;
+       Matrix4x4_Transform(&ent->inversematrix, r_vieworigin, modelorg);
        if (gl_lightmaps.integer)
        {
                GL_BlendFunc(GL_ONE, GL_ZERO);