D3D11: Fixed crash when driver unloads when context is released.

This commit is contained in:
Branimir Karadžić 2018-03-13 17:41:29 -07:00
parent 06c6b92b85
commit fd334ae583

View File

@ -1598,7 +1598,6 @@ namespace bgfx { namespace d3d11
DX_RELEASE(m_annotation, 1);
DX_RELEASE(m_swapChain, 0);
DX_RELEASE(m_deviceCtx, 0);
DX_RELEASE(m_device, 0);
m_dxgi.shutdown();