Skip to content

Commit

Permalink
compat: fix lock drawing with retino
Browse files Browse the repository at this point in the history
  • Loading branch information
KingContaria committed Aug 11, 2024
1 parent 66912f6 commit 8cc9e3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private void renderInstance(SeedQueuePreview instance, Layout.Group group, Layou

private void drawLock(MatrixStack matrices, Layout.Pos pos, LockTexture lock) {
assert this.client != null;
this.setOrtho(this.client.getWindow().getWidth(), this.client.getWindow().getHeight());
this.setOrtho(this.client.getWindow().getFramebufferWidth(), this.client.getWindow().getFramebufferHeight());
this.client.getTextureManager().bindTexture(lock.getId());
DrawableHelper.drawTexture(
matrices,
Expand Down

0 comments on commit 8cc9e3f

Please sign in to comment.