From 4a3affb575ba8f4473eafcf58f02ac13788bf120 Mon Sep 17 00:00:00 2001 From: eihrul Date: Tue, 9 Mar 2010 02:58:06 +0000 Subject: [PATCH] fixes for entity caching when r_shadows == 1 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10050 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 160696f5..f0b60ce5 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -6844,7 +6844,7 @@ static void R_View_UpdateEntityLighting (void) entity_render_t *ent; vec3_t tempdiffusenormal, avg; vec_t f, fa, fd, fdd; - qboolean skipunseen = r_shadows.integer != 1 || R_Shadow_ShadowMappingEnabled(); + qboolean skipunseen = r_shadows.integer != 1; //|| R_Shadow_ShadowMappingEnabled(); for (i = 0;i < r_refdef.scene.numentities;i++) { -- 2.39.2