From a6ac7dd5bd9c68c006502d4f3e6342e2d01a6a2b Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Wed, 3 Dec 2014 22:39:00 +0100 Subject: [PATCH] D3D: Fix Nvidia 3D Vision memory leak --- Source/Core/VideoBackends/D3D/Render.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp index ef5a3d8894..86f93fc9ad 100644 --- a/Source/Core/VideoBackends/D3D/Render.cpp +++ b/Source/Core/VideoBackends/D3D/Render.cpp @@ -184,6 +184,7 @@ void TeardownDeviceObjects() SAFE_RELEASE(resetdepthstate); SAFE_RELEASE(resetraststate); SAFE_RELEASE(s_screenshot_texture); + SAFE_RELEASE(s_3d_vision_texture); s_television.Shutdown();