mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
No need to use setShaderTexture as blit does that already
This commit is contained in:
parent
041381830f
commit
899b2a982b
5 changed files with 1 additions and 5 deletions
|
@ -53,7 +53,7 @@ public class GuiCoalGenerator extends AAScreen<ContainerCoalGenerator> {
|
|||
|
||||
@Override
|
||||
public void renderBg(GuiGraphics guiGraphics, float f, int x, int y) {
|
||||
RenderSystem.setShaderTexture(0, AssetUtil.GUI_INVENTORY_LOCATION);
|
||||
RenderSystem.setShaderColor(1F, 1F, 1F, 1F);
|
||||
|
||||
guiGraphics.blit(AssetUtil.GUI_INVENTORY_LOCATION, this.leftPos, this.topPos + 93, 0, 0, 176, 86);
|
||||
|
||||
|
|
|
@ -56,7 +56,6 @@ public class GuiFeeder extends AAScreen<ContainerFeeder> {
|
|||
RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
|
||||
guiGraphics.blit(AssetUtil.GUI_INVENTORY_LOCATION, this.leftPos, this.topPos + 70, 0, 0, 176, 86);
|
||||
RenderSystem.setShaderTexture(0, RES_LOC);
|
||||
guiGraphics.blit(RES_LOC, this.leftPos, this.topPos, 0, 0, 176, 70);
|
||||
|
||||
if (this.tileFeeder.currentTimer > 0) {
|
||||
|
|
|
@ -59,7 +59,6 @@ public class GuiFermentingBarrel extends AAScreen<ContainerFermentingBarrel> {
|
|||
|
||||
guiGraphics.blit(AssetUtil.GUI_INVENTORY_LOCATION, this.leftPos, this.topPos + 93, 0, 0, 176, 86);
|
||||
|
||||
RenderSystem.setShaderTexture(0, RES_LOC);
|
||||
guiGraphics.blit(RES_LOC, this.leftPos, this.topPos, 0, 0, 176, 93);
|
||||
|
||||
if (this.press.currentProcessTime > 0) {
|
||||
|
|
|
@ -53,7 +53,6 @@ public class GuiMiner extends AAScreen<ContainerMiner> {
|
|||
|
||||
guiGraphics.blit(AssetUtil.GUI_INVENTORY_LOCATION, this.leftPos, this.topPos + 93, 0, 0, 176, 86);
|
||||
|
||||
RenderSystem.setShaderTexture(0, RES_LOC);
|
||||
guiGraphics.blit(RES_LOC, this.leftPos, this.topPos, 0, 0, 176, 93);
|
||||
|
||||
String mining = this.miner.onlyMineOres
|
||||
|
|
|
@ -96,7 +96,6 @@ public class SackGui extends AAScreen<SackContainer> {
|
|||
protected void renderBg(GuiGraphics guiGraphics, float partialTicks, int x, int y) {
|
||||
RenderSystem.setShaderColor(1F, 1F, 1F, 1F);
|
||||
|
||||
RenderSystem.setShaderTexture(0, AssetUtil.GUI_INVENTORY_LOCATION);
|
||||
guiGraphics.blit(AssetUtil.GUI_INVENTORY_LOCATION, this.leftPos, this.topPos + 90, 0, 0, 176, 86);
|
||||
|
||||
guiGraphics.blit(this.isVoid ? RES_LOC_VOID : RES_LOC, this.leftPos, this.topPos, 0, 0, 176, 90);
|
||||
|
|
Loading…
Reference in a new issue