Multiple meshing threads seems to work

master
Marc Gilleron 2020-08-27 23:40:36 +01:00
parent 07ca2c74c1
commit 0d1bd433d9
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ VoxelServer::VoxelServer() {
// TODO Try more threads, it should be possible // TODO Try more threads, it should be possible
// This pool works on visuals so it must have low latency // This pool works on visuals so it must have low latency
_meshing_thread_pool.set_thread_count(1); _meshing_thread_pool.set_thread_count(2);
_meshing_thread_pool.set_priority_update_period(32); _meshing_thread_pool.set_priority_update_period(32);
_meshing_thread_pool.set_batch_count(1); _meshing_thread_pool.set_batch_count(1);