Added the default transparent greyed out background to GuiScreen's.

Added the default transparent greyed out background to the
GuiPasswordEnter and GuiPasswordModify GuiScreen's.
This commit is contained in:
Halvor Lyche Strandvoll 2015-07-01 15:47:11 +02:00
parent e86df43477
commit 37b011c327
2 changed files with 4 additions and 0 deletions

View file

@ -161,6 +161,8 @@ public class GuiPasswordEnter extends GuiScreen
@Override
public void drawScreen(int mouseX, int mouseY, float partialTick)
{
drawDefaultBackground();
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiPasswordEnter.png"));

View file

@ -187,6 +187,8 @@ public class GuiPasswordModify extends GuiScreen
@Override
public void drawScreen(int mouseX, int mouseY, float partialTick)
{
drawDefaultBackground();
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiPasswordModify.png"));