mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 14:19:12 +00:00
Aurora: Fix crash on exit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user