From 8dfd9e50448c4fdf56e571e0525734ee20213927 Mon Sep 17 00:00:00 2001 From: MatthewBeshay <92357869+MatthewBeshay@users.noreply.github.com> Date: Sat, 28 Mar 2026 18:57:19 +1100 Subject: [PATCH] fix(gui): always rebind textures for java font rendering --- Minecraft.Client/Textures/Textures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Textures/Textures.cpp b/Minecraft.Client/Textures/Textures.cpp index cad870918..7fc2dabcf 100644 --- a/Minecraft.Client/Textures/Textures.cpp +++ b/Minecraft.Client/Textures/Textures.cpp @@ -541,11 +541,11 @@ void Textures::bindTextureLayers(ResourceLocation* resource) { } void Textures::bind(int id) { - if (id != lastBoundId) + // Classic GUI code still performs some raw glBindTexture calls, so this + // path must always rebind rather than trusting lastBoundId to be in sync. { if (id < 0) return; glBindTexture(GL_TEXTURE_2D, id); - lastBoundId = id; } }