From 8bcbd2729388edc63c82d77d314b583af1447c49 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 14 Sep 2025 19:16:44 +0500 Subject: Cleanup math with qfengine ports again --- core/threading.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/threading.cc') diff --git a/core/threading.cc b/core/threading.cc index dcbdb9a..8514481 100644 --- a/core/threading.cc +++ b/core/threading.cc @@ -49,7 +49,7 @@ void threading::init(void) auto result = std::from_chars(argument.data(), argument.data() + argument.size(), thread_pool_size); if(result.ec == std::errc()) { - thread_pool_size = math::clamp(thread_pool_size, 1U, num_concurrent_threads); + thread_pool_size = glm::clamp(thread_pool_size, 1U, num_concurrent_threads); } else { thread_pool_size = 4U; @@ -59,7 +59,7 @@ void threading::init(void) auto result = std::from_chars(argument.data(), argument.data() + argument.size(), thread_pool_size); if(result.ec == std::errc()) { - thread_pool_size = math::max(thread_pool_size, 1U); + thread_pool_size = glm::max(thread_pool_size, 1U); } else { thread_pool_size = 4U; -- cgit