Skip to content

Commit

Permalink
Closes #54: Darkens other mod UI's while active
Browse files Browse the repository at this point in the history
  • Loading branch information
2008Choco committed Jan 31, 2021
1 parent f336e21 commit 7da2b13
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,10 @@ public void onInitializeClient() {
int width = window.getScaledWidth(), height = window.getScaledHeight();

RenderSystem.pushMatrix();
RenderSystem.disableLighting();
RenderSystem.disableDepthTest();

RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F);
client.getTextureManager().bindTexture(TEXTURE_VEINMINER_ICON);
DrawableHelper.drawTexture(stack, (width / 2) + 8, (height / 2) - 4, 0, 0, 8, 8, 8, 8);

RenderSystem.enableDepthTest();
RenderSystem.enableLighting();
RenderSystem.popMatrix();
});
}
Expand Down

0 comments on commit 7da2b13

Please sign in to comment.