Free DirectX at exit

This commit is contained in:
pagefault
2001-09-06 21:07:49 +00:00
parent 6874619077
commit 5b096b9231

View File

@@ -438,6 +438,7 @@ void ExitFunction()
ReleaseDirectInput(); ReleaseDirectInput();
ReleaseDirectSound(); ReleaseDirectSound();
ReleaseDirectDraw(); ReleaseDirectDraw();
FreeDirectX();
DestroyWindow(hMainWindow); DestroyWindow(hMainWindow);
} }