From 380c83758fd51d7dd2d53802141e63747fe2dbd1 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 11 Nov 2010 00:39:20 +0000 Subject: [PATCH] fix serious bug with stencil shadows from world caused by a mysterious #if 0 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10585 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=214432376054380f1f6ca38187510b8898057f52 --- gl_rsurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rsurf.c b/gl_rsurf.c index d3b941aa..8027d960 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -842,7 +842,7 @@ static void R_Q1BSP_RecursiveGetLightInfo(r_q1bsp_getlightinfo_t *info, mnode_t if (castshadow) SETPVSBIT(info->outshadowtrispvs, t); } -#if 0 +#if 1 else if (r_shadow_frontsidecasting.integer) { // front side casting occludes backfaces, -- 2.39.2