DX11: fix mem leak on closing a game (Fixes issue #2836, thanks to aavindra)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5881 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
deffc95794
commit
ddaf442e9e
|
@ -246,7 +246,6 @@ void Shutdown()
|
||||||
s_efbAccessRequested = FALSE;
|
s_efbAccessRequested = FALSE;
|
||||||
s_FifoShuttingDown = FALSE;
|
s_FifoShuttingDown = FALSE;
|
||||||
s_swapRequested = FALSE;
|
s_swapRequested = FALSE;
|
||||||
D3D::ShutdownUtils();
|
|
||||||
CommandProcessor::Shutdown();
|
CommandProcessor::Shutdown();
|
||||||
PixelShaderManager::Shutdown();
|
PixelShaderManager::Shutdown();
|
||||||
PixelShaderCache::Shutdown();
|
PixelShaderCache::Shutdown();
|
||||||
|
@ -258,6 +257,7 @@ void Shutdown()
|
||||||
VertexManager::Shutdown();
|
VertexManager::Shutdown();
|
||||||
TextureCache::Shutdown();
|
TextureCache::Shutdown();
|
||||||
Renderer::Shutdown();
|
Renderer::Shutdown();
|
||||||
|
D3D::ShutdownUtils();
|
||||||
EmuWindow::Close();
|
EmuWindow::Close();
|
||||||
s_PluginInitialized = false;
|
s_PluginInitialized = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue