2
0
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:
2021-10-25 23:07:56 -04:00
6 changed files with 35 additions and 2 deletions

View File

@@ -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);