From ddaf442e9e3577e4eb40434dfc686e656f475483 Mon Sep 17 00:00:00 2001 From: luisr142004 Date: Fri, 16 Jul 2010 06:16:03 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_VideoDX11/Src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }