mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Modified the mesh update thread's sleep time to speed it up (it was way too high)
This commit is contained in:
parent
3c532fff15
commit
02006a9540
1 changed files with 3 additions and 1 deletions
|
@ -39,10 +39,12 @@ void * MeshUpdateThread::Thread()
|
|||
QueuedMeshUpdate *q = m_queue_in.pop();
|
||||
if(q == NULL)
|
||||
{
|
||||
sleep_ms(50);
|
||||
sleep_ms(3);
|
||||
continue;
|
||||
}
|
||||
|
||||
ScopeProfiler sp(&g_profiler, "mesh make");
|
||||
|
||||
scene::SMesh *mesh_new = NULL;
|
||||
mesh_new = makeMapBlockMesh(q->data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue