Skip to content

Commit

Permalink
fix: Proper coloring of dirt background
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Aug 23, 2023
1 parent c53e47e commit 9329640
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public void render(PoseStack poseStack, int mouseX, int mouseY, float partialTic

public void renderDirtBackground(PoseStack poseStack) {
RenderSystem.setShaderTexture(0, GuiComponent.BACKGROUND_LOCATION);
RenderSystem.setShaderColor(0.5F, 0.5F, 0.5F, 1.0F);
GuiComponent.blit(poseStack, 0, 0, 0, 0.0F, 0.0F, this.width, this.height, 32, 32);
RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
MinecraftForge.EVENT_BUS.post(new ScreenEvent.BackgroundRendered(this, poseStack));
Expand Down

0 comments on commit 9329640

Please sign in to comment.