From 8fff919f8a4622893b41e51f21c3f5502fdea052 Mon Sep 17 00:00:00 2001 From: Botch Date: Wed, 25 Mar 2026 05:18:49 -0600 Subject: [PATCH] Disabled font mipmapping --- Minecraft.Client/Font.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Minecraft.Client/Font.cpp b/Minecraft.Client/Font.cpp index 1040eaa082..ff5b7ef2dc 100644 --- a/Minecraft.Client/Font.cpp +++ b/Minecraft.Client/Font.cpp @@ -310,6 +310,8 @@ void Font::draw(const wstring &str, bool dropShadow, int initialColor) t->begin(); t->color(currentColor & 0x00ffffff, (currentColor >> 24) & 255); + bool prev = t->setMipmapEnable(false); // Disable mipmapping for fonts, and save previous enabled value to be restored later - Botch + for (int i = 0; i < static_cast(cleanStr.length()); ++i) { // Map character @@ -371,6 +373,8 @@ void Font::draw(const wstring &str, bool dropShadow, int initialColor) addCharacterQuad(c); } + t->setMipmapEnable(prev); //Reinstates previously used enabled value - Botch + t->end(); }