From d7ed311bcf6da4147532ba2ceea298aefa6ae6c9 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 12 Jul 2024 17:34:20 +0200 Subject: [PATCH] impr: Don't auto-scale the framebuffer on Linux --- main/gui/source/window/linux_window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/gui/source/window/linux_window.cpp b/main/gui/source/window/linux_window.cpp index be95f0f2f..1fb95fb28 100644 --- a/main/gui/source/window/linux_window.cpp +++ b/main/gui/source/window/linux_window.cpp @@ -74,6 +74,7 @@ namespace hex { } void Window::configureGLFW() { + glfwWindowHint(GLFW_SCALE_FRAMEBUFFER, GLFW_FALSE); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); glfwWindowHint(GLFW_DECORATED, ImHexApi::System::isBorderlessWindowModeEnabled() ? GL_FALSE : GL_TRUE);