mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fix crash on shutdown in HMD mode.
Presumably this crash is due to a bug in either the Oculus SDK or DirectX itself as changing the order of releasing these objects should not have any effect.
This commit is contained in:
parent
c8f1157f3b
commit
ee649f682e
1 changed files with 1 additions and 1 deletions
|
@ -942,8 +942,8 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
|||
|
||||
DX_RELEASE(m_swapChain, 0);
|
||||
DX_RELEASE(m_deviceCtx, 0);
|
||||
DX_RELEASE(m_device, 0);
|
||||
DX_RELEASE(m_factory, 0);
|
||||
DX_RELEASE(m_device, 0);
|
||||
|
||||
unloadRenderDoc(m_renderdocdll);
|
||||
|
||||
|
|
Loading…
Reference in a new issue