Fix #30131: mac UI font corruption in release candidate, refined test for
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 10 Feb 2012 17:12:44 +0000 (17:12 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 10 Feb 2012 17:12:44 +0000 (17:12 +0000)
ATI/Apple cards with broken non-power-of-two-textures missed some cards,
checked against list of GL_RENDERER values, hopefully complete now.

source/blender/gpu/intern/gpu_extensions.c

index a667213..a3e3eb1 100644 (file)
@@ -174,7 +174,8 @@ void GPU_extensions_init(void)
                   strstr(renderer, "R5") || strstr(renderer, "RV5") ||
                   strstr(renderer, "RS600") || strstr(renderer, "RS690") ||
                   strstr(renderer, "RS740") || strstr(renderer, "X1") ||
-                  strstr(renderer, "X2"))
+                  strstr(renderer, "X2") || strstr(renderer, "Radeon 9") ||
+                  strstr(renderer, "RADEON 9"))
                        GG.npotdisabled = 1;
        }