forked from virt-mirrors/Sit
1.20.5 port
This commit is contained in:
parent
83fda90948
commit
78c6894135
2 changed files with 0 additions and 6 deletions
|
@ -21,8 +21,6 @@ public class ClickableImageWidget extends ButtonWidget {
|
|||
|
||||
@Override
|
||||
protected void renderWidget(DrawContext context, int mouseX, int mouseY, float delta) {
|
||||
RenderSystem.enableBlend();
|
||||
RenderSystem.enableDepthTest();
|
||||
context.drawTexture(RenderLayer::getGuiTextured, image,
|
||||
this.getX(), this.getY(), 0.0f, 0.0f, this.getWidth(), this.getHeight(), this.getWidth(), this.getHeight());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue