diff --git a/main/gui/source/window/linux_window.cpp b/main/gui/source/window/linux_window.cpp index 1fb95fb28..60fbbdd8e 100644 --- a/main/gui/source/window/linux_window.cpp +++ b/main/gui/source/window/linux_window.cpp @@ -74,7 +74,10 @@ namespace hex { } void Window::configureGLFW() { - glfwWindowHint(GLFW_SCALE_FRAMEBUFFER, GLFW_FALSE); + #if defined(GLFW_SCALE_FRAMEBUFFER) + glfwWindowHint(GLFW_SCALE_FRAMEBUFFER, GLFW_FALSE); + #endif + glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); glfwWindowHint(GLFW_DECORATED, ImHexApi::System::isBorderlessWindowModeEnabled() ? GL_FALSE : GL_TRUE);