try remove window size limits

This commit is contained in:
Andrey Zimin 2024-05-28 09:15:19 +03:00
parent b151529437
commit 4ccbe2d0c2

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)
{
@ -217,6 +217,8 @@ namespace VE
event e{ event_type::WINDOW_FOCUS, focused };
d->execute(e);
});
}
void glfw::set_opengl()