From 5b096b923185ff2af043246317c105c357e11073 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Thu, 6 Sep 2001 21:07:49 +0000 Subject: [PATCH] Free DirectX at exit --- zsnes/src/win/winlink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 8c4c64f2..9c6a344e 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -438,6 +438,7 @@ void ExitFunction() ReleaseDirectInput(); ReleaseDirectSound(); ReleaseDirectDraw(); + FreeDirectX(); DestroyWindow(hMainWindow); }