Skip to content

Commit

Permalink
1.19.2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Jul 7, 2024
1 parent 1f7b5e7 commit c9fd2c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public static void drawScreen(float f, Screen screen, PoseStack poseStack) {
posestack.translate(0.0D, 0.0D, -2000.0D);
RenderSystem.applyModelViewMatrix();

Matrix4f guiProjection = (new Matrix4f()).setOrtho(
Matrix4f guiProjection = Matrix4f.orthographic(
0.0F, (float) (mc.getWindow().getWidth() / mc.getWindow().getGuiScale()),
(float) (mc.getWindow().getHeight() / mc.getWindow().getGuiScale()), 0.0F,
1000.0F, 3000.0F);
Expand Down

0 comments on commit c9fd2c6

Please sign in to comment.