Bug 1093694 - Don't allow any graphics features when there's a driver version mismatch. r=jrmuizel, a=sledru
--- a/widget/windows/GfxInfo.cpp
+++ b/widget/windows/GfxInfo.cpp
@@ -1090,24 +1090,18 @@ GfxInfo::GetFeatureStatusImpl(int32_t aF
}
// Windows Server 2003 should be just like Windows XP for present purpose, but still has a different version number.
// OTOH Windows Server 2008 R1 and R2 already have the same version numbers as Vista and Seven respectively
if (os == DRIVER_OS_WINDOWS_SERVER_2003)
os = DRIVER_OS_WINDOWS_XP;
if (mHasDriverVersionMismatch) {
- if (aFeature == nsIGfxInfo::FEATURE_DIRECT3D_10_LAYERS ||
- aFeature == nsIGfxInfo::FEATURE_DIRECT3D_10_1_LAYERS ||
- aFeature == nsIGfxInfo::FEATURE_DIRECT2D ||
- aFeature == nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS)
- {
- *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
- return NS_OK;
- }
+ *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
+ return NS_OK;
}
}
return GfxInfoBase::GetFeatureStatusImpl(aFeature, aStatus, aSuggestedDriverVersion, aDriverInfo, &os);
}
#ifdef DEBUG