]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
forgot to make a couple changes before committing this
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 7 Apr 2003 01:43:11 +0000 (01:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 7 Apr 2003 01:43:11 +0000 (01:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2925 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 162f1d9ab339d84b3ed708806b74c92d34cfa076..9fae3b8203786a5f5cb44c49e96d0bb9c97f9d73 100644 (file)
@@ -1401,7 +1401,7 @@ void R_Shadow_DiffuseLighting(int numverts, int numtriangles, const int *element
                                R_Mesh_CopyVertex3f(vertex3f, numverts);
                                R_Mesh_CopyTexCoord2f(0, texcoord2f, numverts);
                                R_Shadow_Transform_Vertex3f_TexCoord2f(varray_texcoord2f[1], numverts, vertex3f, matrix_modeltoattenuationxyz);
-                               R_Shadow_VertexLightingWithXYAttenuationTexture(numverts, vertex3f, normal3f, color, relativelightorigin, lightradius, matrix_modeltofilter);
+                               R_Shadow_VertexLightingWithXYAttenuationTexture(numverts, vertex3f, normal3f, color, matrix_modeltofilter);
                                R_Mesh_Draw(numverts, numtriangles, elements);
                        }
                }
@@ -1429,7 +1429,7 @@ void R_Shadow_DiffuseLighting(int numverts, int numtriangles, const int *element
                                R_Mesh_GetSpace(numverts);
                                R_Mesh_CopyVertex3f(vertex3f, numverts);
                                R_Mesh_CopyTexCoord2f(0, texcoord2f, numverts);
-                               R_Shadow_VertexLighting(numverts, vertex3f, normal3f, color, relativelightorigin, lightradius, matrix_modeltofilter);
+                               R_Shadow_VertexLighting(numverts, vertex3f, normal3f, color, matrix_modeltofilter);
                                R_Mesh_Draw(numverts, numtriangles, elements);
                        }
                }