зеркало из https://github.com/mozilla/gecko-dev.git
Bug 668004 - dont return ERROR_FAILURE in GetFeatureStatusImpl - r=dsherk
At least, WebGL antialiasing was broken on linux, and couldn't be force-enabled, because of that.
This commit is contained in:
Родитель
9244d9078c
Коммит
7a1f80bdef
|
@ -598,15 +598,11 @@ GfxInfoBase::GetFeatureStatusImpl(PRInt32 aFeature,
|
|||
NS_FAILED(GetAdapterDeviceID(&adapterDeviceID)) ||
|
||||
NS_FAILED(GetAdapterDriverVersion(adapterDriverVersionString)))
|
||||
{
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
PRUint64 driverVersion;
|
||||
if (!ParseDriverVersion(adapterDriverVersionString, &driverVersion)) {
|
||||
#if !defined(XP_MACOSX)
|
||||
return NS_ERROR_FAILURE;
|
||||
#endif
|
||||
}
|
||||
ParseDriverVersion(adapterDriverVersionString, &driverVersion);
|
||||
|
||||
// special-case the WinXP test slaves: they have out-of-date drivers, but we still want to
|
||||
// whitelist them, actually we do know that this combination of device and driver version
|
||||
|
|
Загрузка…
Ссылка в новой задаче