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; Engine::MainWindow = nullptr;
// Request engine exit // Request engine exit
Globals::IsRequestingExit = true; Engine::RequestExit(0);
Engine::RequestingExit();
} }
void GameBaseImpl::OnPostRender(GPUContext* context, RenderContext& renderContext) void GameBaseImpl::OnPostRender(GPUContext* context, RenderContext& renderContext)