Fixed shutdown

This commit is contained in:
pagefault
2001-09-06 21:09:54 +00:00
parent 5b096b9231
commit 421794f122

View File

@@ -438,7 +438,9 @@ void ExitFunction()
ReleaseDirectInput(); ReleaseDirectInput();
ReleaseDirectSound(); ReleaseDirectSound();
ReleaseDirectDraw(); ReleaseDirectDraw();
FreeDirectX(); FreeLibrary(hM_dsound);
FreeLibrary(hM_ddraw);
FreeLibrary(hM_dinput8);
DestroyWindow(hMainWindow); DestroyWindow(hMainWindow);
} }