Bug 729817 - Allow the Nouveau driver with Mesa >= 8.0.1 - r=bjacob

This commit is contained in:
Zack Weinberg 2012-03-08 23:19:26 -05:00
parent 42e828a6a9
commit 07f40ca85b

View File

@ -334,9 +334,9 @@ GfxInfo::GetFeatureStatusImpl(PRInt32 aFeature,
}
if (mIsMesa) {
if (mIsNouveau) {
if (mIsNouveau && version(mMajorVersion, mMinorVersion) < version(8,0)) {
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
aSuggestedDriverVersion.AssignLiteral("<Not the Nouveau driver>");
aSuggestedDriverVersion.AssignLiteral("Mesa 8.0");
} else if (version(mMajorVersion, mMinorVersion, mRevisionVersion) < version(7,10,3)) {
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
aSuggestedDriverVersion.AssignLiteral("Mesa 7.10.3");