Skip to content

Commit

Permalink
Fix OpenGL blend state causing dark inventory slots.
Browse files Browse the repository at this point in the history
  • Loading branch information
micdoodle8 committed Sep 14, 2014
1 parent 0b82f7d commit f093c3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/tconstruct/client/tabs/AbstractTab.java
Expand Up @@ -42,6 +42,7 @@ public void drawButton (Minecraft mc, int mouseX, int mouseY)
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();
Expand Down

0 comments on commit f093c3d

Please sign in to comment.