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