mirror of https://github.com/AxioDL/metaforce.git
Aurora: Fix crash on exit
This commit is contained in:
parent
ea3641153e
commit
683af1a9ea
|
@ -169,6 +169,9 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon) noexcept {
|
|||
|
||||
while (poll_events()) {}
|
||||
|
||||
g_SwapChain.Release();
|
||||
g_Queue.Release();
|
||||
g_Device.Release();
|
||||
SDL_DestroyWindow(g_Window);
|
||||
SDL_Quit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue