mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove trailing whitespace (#13505)
This commit is contained in:
@@ -229,7 +229,7 @@ void MeshUpdateWorkerThread::doUpdate()
|
||||
|
||||
MapBlockMesh *mesh_new = new MapBlockMesh(q->data, *m_camera_offset);
|
||||
|
||||
|
||||
|
||||
|
||||
MeshUpdateResult r;
|
||||
r.p = q->p;
|
||||
@@ -257,7 +257,7 @@ MeshUpdateManager::MeshUpdateManager(Client *client):
|
||||
// Automatically use 33% of the system cores for mesh generation, max 4
|
||||
if (number_of_threads == 0)
|
||||
number_of_threads = MYMIN(4, Thread::getNumberOfProcessors() / 3);
|
||||
|
||||
|
||||
// use at least one thread
|
||||
number_of_threads = MYMAX(1, number_of_threads);
|
||||
infostream << "MeshUpdateManager: using " << number_of_threads << " threads" << std::endl;
|
||||
|
Reference in New Issue
Block a user