Don't need to disable GL Lighting

This commit is contained in:
cargocats committed 2025-05-24 13:00:09 -04:00
1 parent e4fe9683e5
commit 9d2c5f0c1e
1 file changed
+2 -1
@@ -419,11 +419,11 @@ public class TileEntityDrawersRenderer extends TileEntitySpecialRenderer {
int stringWidth = this.func_147498_b().getStringWidth(renderString);
GL11.glPushMatrix();
this.alignRendering(side);
this.moveRendering(0.125f, offsetX, offsetY, offsetZ);
GL11.glDepthMask(false);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
@@ -432,6 +432,7 @@ public class TileEntityDrawersRenderer extends TileEntitySpecialRenderer {
GL11.glDepthMask(true);
GL11.glDisable(GL11.GL_BLEND);
GL11.glPopMatrix();
}