mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
d1ef9c1342
commit
7c953e1e1f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user