mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
reduce copies in ThreadPool
This commit is contained in:
parent
d14f5d6dfd
commit
79eb185530
7 changed files with 35 additions and 26 deletions
|
|
@ -785,7 +785,7 @@ ChunkMesh BlocksRenderer::render(
|
|||
IndexBufferData {indexBuffer.get(), indexCount},
|
||||
IndexBufferData {denseIndexBuffer.get(), denseIndexCount},
|
||||
}
|
||||
), std::move(sortingMesh)};
|
||||
), std::move(sortingMesh), nullptr};
|
||||
}
|
||||
|
||||
size_t BlocksRenderer::getMemoryConsumption() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue