From a144a252e75fa8475af774a0dc1623d4583f96f1 Mon Sep 17 00:00:00 2001 From: Loki Rautio Date: Sun, 12 Apr 2026 22:47:41 -0500 Subject: [PATCH] Reduce overscaling above 1080p Restores original scaling for 1440p to try and keep the text size more sane on high DPI monitors --- Minecraft.Client/Gui.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Gui.cpp b/Minecraft.Client/Gui.cpp index 29a9f4ddd..a01cad89a 100644 --- a/Minecraft.Client/Gui.cpp +++ b/Minecraft.Client/Gui.cpp @@ -1214,7 +1214,11 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse) float scale = min(scaleWidth, scaleHeight); //stop stretching - if (scale < 0.5f) scale = 0.5f; //force minimum scale + if (scale < 0.5f) scale = 0.5f; // force minimum scale + if (scale > 1.2f) // resolutions over 1296 pixels tall + { + scale = scale - 0.33f; // tame overscaling on 1440p + } glScalef(scale, scale, 1); #endif