job system updates, cpu performance improvements

This commit is contained in:
Turanszki Janos
2020-05-31 00:38:03 +01:00
parent 1831df147c
commit c7f5c1a17e
20 changed files with 815 additions and 845 deletions
+1 -1
View File
@@ -501,7 +501,7 @@ ObjectWindow::ObjectWindow(EditorComponent* editor) : editor(editor)
}
else if (gen_type == UV_GEN_GENERATE_ATLAS)
{
wiJobSystem::Execute(ctx, [&] {
wiJobSystem::Execute(ctx, [&](wiJobArgs args) {
it.second = GenerateMeshAtlas(mesh, (uint32_t)lightmapResolutionSlider->GetValue());
});
}