]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
always use fetch4 path for filtering if available
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 Jan 2010 22:51:39 +0000 (22:51 +0000)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Wed, 27 Jan 2010 06:16:44 +0000 (07:16 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9866 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9e332410772561de872eb034d651f3ee0f81c8bb

r_shadow.c

index 49f03e4e4407a692950df8aace771fdac991e8b7..07ae3e958e858ba79fdf8b4179e6b0d31d9ee07a 100644 (file)
@@ -399,13 +399,13 @@ void R_Shadow_SetShadowMode(void)
                {
                        if(r_shadow_shadowmapfilterquality < 0)
                        {
-                               if(strstr(gl_vendor, "NVIDIA")) 
+                               if(vid.support.amd_texture_texture4 || vid.support.arb_texture_gather)
+                                       r_shadow_shadowmappcf = 1;
+                               else if(strstr(gl_vendor, "NVIDIA") || strstr(gl_renderer, "Radeon HD")) 
                                {
                                        r_shadow_shadowmapsampler = vid.support.arb_shadow;
                                        r_shadow_shadowmappcf = 1;
                                }
-                               else if(vid.support.amd_texture_texture4 || vid.support.arb_texture_gather) 
-                                       r_shadow_shadowmappcf = 1;
                                else if(strstr(gl_vendor, "ATI")) 
                                        r_shadow_shadowmappcf = 1;
                                else