mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix blending on the hotbar. Closes #574
This commit is contained in:
1 parent
5ca854efa8
commit
eba92ad3f8
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user