Skip to content

Commit

Permalink
impr: Don't auto-scale the framebuffer on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jul 12, 2024
1 parent 8422965 commit d7ed311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/gui/source/window/linux_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7ed311

Please sign in to comment.