From bf756bdd3fb8c8f3a859034400747566eb9d6a1b Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 7 Apr 2003 01:43:11 +0000 Subject: [PATCH] forgot to make a couple changes before committing this git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2925 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r_shadow.c b/r_shadow.c index 162f1d9a..9fae3b82 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -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); } } -- 2.39.2