Skip to content

Commit

Permalink
Fix regular texture rendering in 1.20.4
Browse files Browse the repository at this point in the history
Signed-off-by: Rina Mary Shaw <[email protected]>
  • Loading branch information
Pixaurora committed Dec 14, 2024
1 parent fb5e316 commit b4d6f12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public GuiDisplayImpl(GuiGraphics graphics, ConversionCacheImpl conversions) {

@Override
public void drawTexture(ResourcePath path, int width, int height, int x, int y) {
this.drawGuiTextureSubsection(path, width, height, x, y, width, height, 0, 0);
this.graphics.blit(conversions.convert(path), x, y, 0, 0.0F, 0.0F, width, height, width, height);
}

@Override
Expand Down

0 comments on commit b4d6f12

Please sign in to comment.