Fix deprecation api usage on game exit

This commit is contained in:
Wojtek Figat
2025-03-05 12:09:32 +01:00
parent 06de1c0041
commit 7809007a13

View File

@@ -198,8 +198,7 @@ void GameBaseImpl::OnMainWindowClosed()
Engine::MainWindow = nullptr;
// Request engine exit
Globals::IsRequestingExit = true;
Engine::RequestingExit();
Engine::RequestExit(0);
}
void GameBaseImpl::OnPostRender(GPUContext* context, RenderContext& renderContext)