зеркало из https://github.com/mozilla/gecko-dev.git
Bug 711656 - Fix bug in D2D blocklisting check - no review
Two-fold bug: - d2dDisabled was set there, only to be overwritten below at line 432 - d2dBlocked was only set there for certain status values, should have been set for any status != NO_INFO. See https://bugzilla.mozilla.org/show_bug.cgi?id=711656#c85
This commit is contained in:
Родитель
6fc8ac5a52
Коммит
c91d468518
|
@ -419,12 +419,7 @@ gfxWindowsPlatform::UpdateRenderMode()
|
|||
PRInt32 status;
|
||||
if (NS_SUCCEEDED(gfxInfo->GetFeatureStatus(nsIGfxInfo::FEATURE_DIRECT2D, &status))) {
|
||||
if (status != nsIGfxInfo::FEATURE_NO_INFO) {
|
||||
d2dDisabled = true;
|
||||
if (status == nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION ||
|
||||
status == nsIGfxInfo::FEATURE_BLOCKED_DEVICE)
|
||||
{
|
||||
d2dBlocked = true;
|
||||
}
|
||||
d2dBlocked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче