mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
stabilize delays of chunks meshes building
This commit is contained in:
parent
f47ccd5f30
commit
88544183d0
13 changed files with 335 additions and 191 deletions
|
|
@ -162,7 +162,7 @@ std::shared_ptr<Task> WorldConverter::startTask(
|
|||
}
|
||||
auto pool = std::make_shared<util::ThreadPool<ConvertTask, int>>(
|
||||
"converter-pool",
|
||||
[=]() { return std::make_shared<ConverterWorker>(converter); },
|
||||
[=]() { return std::make_unique<ConverterWorker>(converter); },
|
||||
[=](int&&) {}
|
||||
);
|
||||
auto& converterTasks = converter->tasks;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue