summaryrefslogtreecommitdiffstats
path: root/game/client/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/main.cc')
-rw-r--r--game/client/main.cc4
1 files changed, 2 insertions, 2 deletions
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);