Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel

This commit is contained in:
Bas Schouten 2014-09-30 17:51:09 +02:00
parent ee090394fb
commit 20ab143e76

View File

@ -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