Fix chipset detection with r300g
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213841
This commit is contained in:
parent
cf03487331
commit
83fd472bb3
1 changed files with 2 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue