Detect radeon by using at least "Mesa DRI R", not

just the way too generic "Mesa DRI".


svn path=/trunk/KDE/kdebase/workspace/; revision=980487
This commit is contained in:
Luboš Luňák 2009-06-11 20:58:51 +00:00
parent 3685b3260a
commit 747c9b1f3e

View file

@ -266,7 +266,7 @@ void CompositingPrefs::detectDriverAndVersion()
mVersion = Version( versionParts[1].mid( 1, versionParts[1].length() -2 ) );
}
}
else if( mGLRenderer.startsWith( "Mesa DRI" ))
else if( mGLRenderer.startsWith( "Mesa DRI R" ))
{
mDriver = "radeon";
mVersion = Version( mGLRenderer.split(" ")[ 3 ] );