From 83fd472bb3c062a7c4e9a231cc200c14849e2673 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 51b869e034..37fddc9a59 100644 --- a/lib/kwinglplatform.cpp +++ b/lib/kwinglplatform.cpp @@ -587,7 +587,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") {