From: eihrul Date: Sat, 14 Jan 2012 12:18:57 +0000 (+0000) Subject: better ATI detection X-Git-Tag: xonotic-v0.6.0~63 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a4b94a682a206cea80aa4c70fc4d8ca5148efc35;p=xonotic%2Fdarkplaces.git better ATI detection git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11645 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=3d921d293ba23dc2b73a236c6ab10faf39bc650f --- diff --git a/r_shadow.c b/r_shadow.c index 320667df..bdf4f2c5 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -453,7 +453,7 @@ static void R_Shadow_SetShadowMode(void) r_shadow_shadowmapsampler = vid.support.arb_shadow && r_shadow_shadowmapshadowsampler; r_shadow_shadowmappcf = 1; } - else if(strstr(gl_vendor, "ATI")) + else if((strstr(gl_vendor, "ATI") || strstr(gl_vendor, "Advanced Micro Devices")) && !strstr(gl_renderer, "Mesa") && !strstr(gl_version, "Mesa")) r_shadow_shadowmappcf = 1; else r_shadow_shadowmapsampler = vid.support.arb_shadow && r_shadow_shadowmapshadowsampler;