]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fixes for entity caching when r_shadows == 1
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Mar 2010 02:58:06 +0000 (02:58 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Mar 2010 02:58:06 +0000 (02:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10050 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 160696f591f0e7ba29fb7cf692b7ac80cef1cfa8..f0b60ce54558404363a6d6b03fab9a97ddb016f8 100644 (file)
@@ -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++)
        {