Fix GL state leak in search grid (#115)

This commit is contained in:
Algent authored and GitHub committed 2026-08-13 21:00:35 +02:00
1 parent e20df09909
commit d62c5d0054
1 file changed
+1
@@ -450,6 +450,7 @@ public class GuiCraftGUI extends GuiContainer {
}
GuiScreen.itemRender.renderItemOverlayIntoGUI(font, mc.renderEngine, item, (int) pos.x(), (int) pos.y(), null);
GL11.glClear(GL11.GL_DEPTH_BUFFER_BIT);
RenderHelper.disableStandardItemLighting();
GL11.glPopAttrib();
}