mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
[gfx] Hard-block old mesa/nouveau versions
This commit is contained in:
parent
bfac131dc2
commit
fc40ca5ac1
1 changed files with 5 additions and 1 deletions
|
|
@ -359,7 +359,11 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
|||
aSuggestedDriverVersion.AssignLiteral("Mesa 8.1");
|
||||
}
|
||||
}
|
||||
|
||||
else if (mIsNouveau && version(mMajorVersion, mMinorVersion) < version(11,0)) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
|
||||
aFailureId = "FEATURE_FAILURE_OLD_NOUVEAU";
|
||||
aSuggestedDriverVersion.AssignLiteral("Mesa 11.0");
|
||||
}
|
||||
} else if (mIsNVIDIA) {
|
||||
if (version(mMajorVersion, mMinorVersion, mRevisionVersion) < version(257,21)) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue