mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel
This commit is contained in:
parent
ee090394fb
commit
20ab143e76
@ -1537,6 +1537,8 @@ gfxWindowsPlatform::InitD3D11Devices()
|
||||
return;
|
||||
}
|
||||
|
||||
mD3D11Device->SetExceptionMode(0);
|
||||
|
||||
#ifdef USE_D2D1_1
|
||||
if (Factory::SupportsD2D1()) {
|
||||
hr = d3d11CreateDevice(adapter, D3D_DRIVER_TYPE_UNKNOWN, nullptr,
|
||||
@ -1549,6 +1551,8 @@ gfxWindowsPlatform::InitD3D11Devices()
|
||||
return;
|
||||
}
|
||||
|
||||
mD3D11ContentDevice->SetExceptionMode(0);
|
||||
|
||||
Factory::SetDirect3D11Device(mD3D11ContentDevice);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user