1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove trailing whitespace (#13505)

This commit is contained in:
Thresher 2023-05-18 14:34:18 -04:00 committed by GitHub
parent 95a9f4ab7c
commit 180ec92ef9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 81 additions and 81 deletions

View file

@ -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;