Fix chipset detection with r300g

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213841
icc-effect-5.14.5
Fredrik Höglund 2011-01-11 20:06:47 +00:00 committed by Martin Gräßlin
parent cf03487331
commit 83fd472bb3
1 changed files with 2 additions and 1 deletions

View File

@ -587,7 +587,8 @@ void GLPlatform::detect()
// Sample renderer string: Gallium 0.4 on AMD RV740
const QList<QByteArray> 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") {