mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 15:01:49 +00:00
Merge remote-tracking branch 'darkszero/feature/lazy-commit-resources'
# Conflicts: # extern/boo
This commit is contained in:
@@ -415,6 +415,7 @@ public:
|
||||
}
|
||||
|
||||
OPTICK_FRAME("MainThread");
|
||||
CGraphics::SetCommitResourcesAsLazy(m_cvarCommons.m_lazyCommitResources->toBoolean());
|
||||
|
||||
boo::SWindowRect rect = m_windowCallback.m_lastRect;
|
||||
rect.location = {0, 0};
|
||||
@@ -482,6 +483,11 @@ public:
|
||||
m_imGuiConsole.ShowAboutWindow(false, m_errorString);
|
||||
}
|
||||
|
||||
{
|
||||
OPTICK_EVENT("Flush");
|
||||
CGraphics::SetCommitResourcesAsLazy(false);
|
||||
}
|
||||
|
||||
{
|
||||
OPTICK_EVENT("Draw");
|
||||
gfxQ->setRenderTarget(m_renderTex);
|
||||
|
||||
Reference in New Issue
Block a user