From 4ccbe2d0c225887e81b2308349533ef3fc6f643c Mon Sep 17 00:00:00 2001 From: Andrey Zimin Date: Tue, 28 May 2024 09:15:19 +0300 Subject: [PATCH] try remove window size limits --- src/glfw/glfw.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/glfw/glfw.cpp b/src/glfw/glfw.cpp index 8bccff0..f2ef090 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) { @@ -217,6 +217,8 @@ namespace VE event e{ event_type::WINDOW_FOCUS, focused }; d->execute(e); }); + + } void glfw::set_opengl()