Remove the BLEND enable in rendering damage bars. And exclicitly fix blend states in some GUI elements.

This commit is contained in:
Lex Manos committed 2014-07-06 16:25:14 -07:00
1 parent 0705670f1d
commit d35098ab9e
2 files changed
+13

No files matched your search

@@ -498,6 +498,7 @@ public class GuiIngameForge extends GuiIngame
bind(icons);
if (pre(EXPERIENCE)) return;
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
GL11.glDisable(GL11.GL_BLEND);
if (mc.playerController.gameIsSurvivalOrAdventure())
{
@@ -537,6 +538,7 @@ public class GuiIngameForge extends GuiIngame
mc.mcProfiler.endSection();
}
}
GL11.glEnable(GL11.GL_BLEND);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
post(EXPERIENCE);
@@ -547,6 +549,7 @@ public class GuiIngameForge extends GuiIngame
bind(icons);
if (pre(JUMPBAR)) return;
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
GL11.glDisable(GL11.GL_BLEND);
mc.mcProfiler.startSection("jumpBar");
float charge = mc.thePlayer.getHorseJumpPower();
@@ -562,6 +565,7 @@ public class GuiIngameForge extends GuiIngame
this.drawTexturedModalRect(x, top, 0, 89, filled, 5);
}
GL11.glEnable(GL11.GL_BLEND);
mc.mcProfiler.endSection();
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);