restore window size limit

This commit is contained in:
Andrey Zimin 2024-05-28 09:19:52 +03:00
parent 53a0f45565
commit a658789a95

View File

@ -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)
{