Windows deallocation fixes

This commit is contained in:
Jack Andersen
2018-05-28 10:23:20 -10:00
parent 3028e34b51
commit 6ff4229f9b
4 changed files with 18 additions and 5 deletions

View File

@@ -1018,9 +1018,9 @@ public:
m_gfxCtx.reset(new GraphicsContextWin32D3D(api, this, m_hwnd, b3dCtx));
}
~WindowWin32()
void _cleanup()
{
m_gfxCtx.reset();
}
void setCallback(IWindowCallback* cb)