1
0
mirror of synced 2024-11-24 07:40:17 +01:00

impr: Don't auto-scale the framebuffer on Linux

This commit is contained in:
WerWolv 2024-07-12 17:34:20 +02:00
parent 8422965d0b
commit d7ed311bcf

View File

@ -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);