From 3d921d293ba23dc2b73a236c6ab10faf39bc650f Mon Sep 17 00:00:00 2001 From: eihrul Date: Sat, 14 Jan 2012 12:18:57 +0000 Subject: [PATCH] better ATI detection git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11645 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2