Fixed gauge render
This commit is contained in:
parent
aec238dde5
commit
462c5a91b0
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,6 @@ public class GuiSolarEvaporationController extends GuiMekanism
|
||||||
@Override
|
@Override
|
||||||
protected void drawGuiContainerBackgroundLayer(float partialTick, int mouseX, int mouseY)
|
protected void drawGuiContainerBackgroundLayer(float partialTick, int mouseX, int mouseY)
|
||||||
{
|
{
|
||||||
super.drawGuiContainerBackgroundLayer(partialTick, mouseX, mouseY);
|
|
||||||
|
|
||||||
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiSolarEvaporationController.png"));
|
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiSolarEvaporationController.png"));
|
||||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
int guiWidth = (width - xSize) / 2;
|
int guiWidth = (width - xSize) / 2;
|
||||||
|
@ -129,5 +127,7 @@ public class GuiSolarEvaporationController extends GuiMekanism
|
||||||
|
|
||||||
int displayInt = tileEntity.getScaledTempLevel(78);
|
int displayInt = tileEntity.getScaledTempLevel(78);
|
||||||
drawTexturedModalRect(guiWidth + 49, guiHeight + 64, 176, 59, displayInt, 8);
|
drawTexturedModalRect(guiWidth + 49, guiHeight + 64, 176, 59, displayInt, 8);
|
||||||
|
|
||||||
|
super.drawGuiContainerBackgroundLayer(partialTick, mouseX, mouseY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue