forked from Mirrorlandia_minetest/minetest
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
@ -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…
Reference in New Issue
Block a user