From a658789a95260851e858cffb75b93fee4faccebe Mon Sep 17 00:00:00 2001 From: Andrey Zimin Date: Tue, 28 May 2024 09:19:52 +0300 Subject: [PATCH] restore window size limit --- src/glfw/glfw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glfw/glfw.cpp b/src/glfw/glfw.cpp index f2ef090..db80369 100755 --- a/src/glfw/glfw.cpp +++ b/src/glfw/glfw.cpp @@ -192,7 +192,7 @@ namespace VE void glfw::set_window_callback() { - // glfwSetWindowSizeLimits(m_win, m_win_data.m_width, m_win_data.m_height, GLFW_DONT_CARE, GLFW_DONT_CARE); + glfwSetWindowSizeLimits(m_win, m_win_data.m_width, m_win_data.m_height, GLFW_DONT_CARE, GLFW_DONT_CARE); glfwSetWindowSizeCallback(m_win, [](GLFWwindow* w, int width, int height) {