]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
okay, don't use shadow sampler in Cg
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Mar 2010 02:17:08 +0000 (02:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Mar 2010 02:17:08 +0000 (02:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10048 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 8dc758f240457afaa77a29bfcb80806b7e1629a4..9b1fbf83735fdb266b39c9ebbf8957af08f7504b 100644 (file)
@@ -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;
                        }
                }