Renderer: Refactor transient resources (allow access at any time)

This commit is contained in:
SirLynix
2023-07-21 08:51:39 +02:00
committed by Jérôme Leclercq
parent de68033a0e
commit 4db5b59ec9
21 changed files with 265 additions and 240 deletions

View File

@@ -60,9 +60,9 @@ namespace Nz
UpdateObservers();
UpdateInstances();
for (auto& windowPtr : m_windowSwapchains)
for (auto& swapchainPtr : m_windowSwapchains)
{
RenderFrame frame = windowPtr->AcquireFrame();
RenderFrame frame = swapchainPtr->AcquireFrame();
if (!frame)
continue;