Fix OpenGL blend state causing dark inventory slots.

This commit is contained in:
Mitchell Petrie committed 2014-09-14 17:43:24 -04:00
1 parent 0b82f7d170
commit f093c3da17
1 file changed
+1
@@ -42,6 +42,7 @@ public abstract class AbstractTab extends GuiButton
this.itemRenderer.renderItemAndEffectIntoGUI(mc.fontRenderer, mc.renderEngine, renderStack, xPosition + 6, yPosition + 8);
this.itemRenderer.renderItemOverlayIntoGUI(mc.fontRenderer, mc.renderEngine, renderStack, xPosition + 6, yPosition + 8);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_BLEND);
this.itemRenderer.zLevel = 0.0F;
this.zLevel = 0.0F;
RenderHelper.disableStandardItemLighting();