mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
Set minimum window size to 720x480
This commit is contained in:
@@ -133,6 +133,8 @@ namespace hex {
|
||||
Window::s_currShortcut = { key, mods };
|
||||
});
|
||||
|
||||
glfwSetWindowSizeLimits(this->m_window, 720, 480, GLFW_DONT_CARE, GLFW_DONT_CARE);
|
||||
|
||||
if (gladLoadGL() == 0)
|
||||
throw std::runtime_error("Failed to initialize OpenGL loader!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user