mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 17:15:52 +00:00
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()) {}
|
while (poll_events()) {}
|
||||||
|
|
||||||
|
g_SwapChain.Release();
|
||||||
|
g_Queue.Release();
|
||||||
|
g_Device.Release();
|
||||||
SDL_DestroyWindow(g_Window);
|
SDL_DestroyWindow(g_Window);
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user