Fix blending on the hotbar. Closes #574

This commit is contained in:
Christian 2013-05-15 20:51:24 -04:00
parent 5ca854efa8
commit eba92ad3f8

View file

@ -162,6 +162,9 @@ public class GuiIngameForge extends GuiIngame
if (pre(HOTBAR)) return;
mc.mcProfiler.startSection("actionBar");
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
mc.renderEngine.bindTexture("/gui/gui.png");
InventoryPlayer inv = mc.thePlayer.inventory;