Fix deprecation api usage on game exit
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user