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:
luisr142004 2010-07-16 06:16:03 +00:00
parent deffc95794
commit ddaf442e9e

View file

@ -246,7 +246,6 @@ void Shutdown()
s_efbAccessRequested = FALSE;
s_FifoShuttingDown = FALSE;
s_swapRequested = FALSE;
D3D::ShutdownUtils();
CommandProcessor::Shutdown();
PixelShaderManager::Shutdown();
PixelShaderCache::Shutdown();
@ -258,6 +257,7 @@ void Shutdown()
VertexManager::Shutdown();
TextureCache::Shutdown();
Renderer::Shutdown();
D3D::ShutdownUtils();
EmuWindow::Close();
s_PluginInitialized = false;
}