From: eihrul Date: Sat, 14 Jan 2012 12:18:57 +0000 (+0000) Subject: better ATI detection X-Git-Tag: xonotic-v0.8.0~96^2~368 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3d921d293ba23dc2b73a236c6ab10faf39bc650f;p=xonotic%2Fdarkplaces.git better ATI detection git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11645 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;