From 5384fee7a0a3f097600ede7a919fdb5bec5c7e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Tue, 11 Jan 2011 20:06:47 +0000 Subject: [PATCH] Fix chipset detection with r300g svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213841 --- lib/kwinglplatform.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/kwinglplatform.cpp b/lib/kwinglplatform.cpp index 0d88f6279e..7076fe2314 100644 --- a/lib/kwinglplatform.cpp +++ b/lib/kwinglplatform.cpp @@ -581,7 +581,8 @@ void GLPlatform::detect() // Sample renderer string: Gallium 0.4 on AMD RV740 const QList tokens = m_renderer.split(' '); m_galliumVersion = parseVersionString(tokens.at(1)); - m_chipset = tokens.at(3) == "AMD" ? tokens.at(4) : tokens.at(3); + m_chipset = (tokens.at(3) == "AMD" || tokens.at(3) == "ATI") ? + tokens.at(4) : tokens.at(3); // R300G if (m_vendor == "X.Org R300 Project") {