Commit abea62ac authored by Fredrik Höglund's avatar Fredrik Höglund Committed by Martin Flöser

Fix chipset detection with r300g

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213841
parent 3b8984d6
......@@ -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") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment