Add optional async scene drawing and improve stability

This commit is contained in:
Wojtek Figat
2022-11-11 15:47:33 +01:00
parent 881880fc34
commit b47d95205f
5 changed files with 20 additions and 5 deletions

View File

@@ -353,7 +353,7 @@ void RenderInner(SceneRenderTask* task, RenderContext& renderContext, RenderCont
// Wait for async jobs to finish
JobSystem::SetJobStartingOnDispatch(true);
for (const int64 label : renderContextBatch.WaitLabels)
for (const uint64 label : renderContextBatch.WaitLabels)
JobSystem::Wait(label);
renderContextBatch.WaitLabels.Clear();