mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user