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 --- game/client/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/client/main.cc') diff --git a/game/client/main.cc b/game/client/main.cc index e20fd5c..b2a6a01 100644 --- a/game/client/main.cc +++ b/game/client/main.cc @@ -321,8 +321,8 @@ int main(int argc, char** argv) if(auto vmode = io::cmdline::get_cstr("mode")) { std::sscanf(vmode, "%dx%d", &vmode_width, &vmode_height); - vmode_height = math::max(vmode_height, MIN_HEIGHT); - vmode_width = math::max(vmode_width, MIN_WIDTH); + vmode_height = glm::max(vmode_height, MIN_HEIGHT); + vmode_width = glm::max(vmode_width, MIN_WIDTH); } glfwSetWindowSize(globals::window, vmode_width, vmode_height); -- cgit