mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-04-26 08:53:54 +00:00
Memory leak fix
reinitializing the render leads to a memory leak, it could leak over 20 MB
This commit is contained in:
parent
4390435f06
commit
b81d519c9e
|
|
@ -941,7 +941,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
|||
#endif
|
||||
app.loadMediaArchive();
|
||||
|
||||
RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
|
||||
//RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
|
||||
|
||||
app.loadStringTable();
|
||||
ui.init(g_pd3dDevice,g_pImmediateContext,g_pRenderTargetView,g_pDepthStencilView,g_iScreenWidth,g_iScreenHeight);
|
||||
|
|
|
|||
Loading…
Reference in a new issue