From: eihrul Date: Tue, 26 Jan 2010 22:51:39 +0000 (+0000) Subject: always use fetch4 path for filtering if available X-Git-Tag: xonotic-v0.1.0preview~230^2~603 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9e332410772561de872eb034d651f3ee0f81c8bb;p=xonotic%2Fdarkplaces.git always use fetch4 path for filtering if available git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9866 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index 49f03e4e..07ae3e95 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -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