From 826cff55f504e6b50ebb4eed1575e2d3380fbfeb Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 9 Mar 2010 02:17:08 +0000 Subject: [PATCH] okay, don't use shadow sampler in Cg git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10048 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_shadow.c b/r_shadow.c index 8dc758f2..9b1fbf83 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -445,7 +445,7 @@ void R_Shadow_SetShadowMode(void) // Cg has very little choice in depth texture sampling if (vid.cgcontext) { - r_shadow_shadowmapsampler = true; + r_shadow_shadowmapsampler = false; r_shadow_shadowmode = R_SHADOW_SHADOWMODE_SHADOWMAP2D; } } -- 2.39.2