optimize glPushAttrib calls

This commit is contained in:
sisyphussy committed 2025-10-01 09:22:18 +02:00
1 parent 948be399d2
commit fb952aba15
8 files changed
+9 -9

No files matched your search

@@ -100,7 +100,7 @@ public class ItemsTooltipLineHandler implements ITooltipLineHandler {
fontRenderer.drawStringWithShadow(this.labelColor + this.label + ":", x, y, 0);
GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS);
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
GL11.glPushMatrix();
RenderHelper.enableGUIStandardItemLighting();