restore window size limit
This commit is contained in:
parent
53a0f45565
commit
a658789a95
@ -192,7 +192,7 @@ namespace VE
|
|||||||
|
|
||||||
void glfw::set_window_callback()
|
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)
|
glfwSetWindowSizeCallback(m_win, [](GLFWwindow* w, int width, int height)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user