summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorluisr142004 <luisr142004@gmail.com>2010-07-16 06:16:03 +0000
committerluisr142004 <luisr142004@gmail.com>2010-07-16 06:16:03 +0000
commitddaf442e9e3577e4eb40434dfc686e656f475483 (patch)
tree800143d519bc0a0da96b107b296212549c6315ca /Source
parentdeffc957948dd86306a6845c24db42fca7d71288 (diff)
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
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoDX11/Src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/main.cpp b/Source/Plugins/Plugin_VideoDX11/Src/main.cpp
index 6b253b255c..5ff78cb08e 100644
--- a/Source/Plugins/Plugin_VideoDX11/Src/main.cpp
+++ b/Source/Plugins/Plugin_VideoDX11/Src/main.cpp
@@ -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;
}