Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas

WARP fails sometimes. Who knows why. MOZ_CRASHing
during start up isn't very good to do on startup.
This commit is contained in:
Jeff Muizelaar 2015-03-31 23:23:56 -04:00
parent d1ef9c1342
commit 7c953e1e1f

View File

@ -1973,11 +1973,10 @@ gfxWindowsPlatform::InitD3D11Devices()
if (FAILED(hr)) {
// This should always succeed... in theory.
gfxCriticalError() << "Failed to initialize WARP D3D11 device!" << hr;
MOZ_CRASH();
} else {
mIsWARP = true;
reporterWARP.SetSuccessful();
}
mIsWARP = true;
reporterWARP.SetSuccessful();
}
mD3D11Device->SetExceptionMode(0);