fix unintialized memory (#2499)

this then caused `DX_RELEASE(m_msaaRt, 0);` in `error:` to fire an assert since it tries to deref the garbage ptr
This commit is contained in:
James Fulop
2021-04-29 17:46:24 -07:00
committed by GitHub
parent 9310d19141
commit 43db77159d

View File

@@ -665,6 +665,7 @@ namespace bgfx { namespace d3d11
, m_ags(NULL)
, m_featureLevel(D3D_FEATURE_LEVEL(0) )
, m_swapChain(NULL)
, m_msaaRt(NULL)
, m_needPresent(false)
, m_lost(false)
, m_numWindows(0)