diff --git a/common/src/main/java/org/vivecraft/client_vr/render/helpers/RenderHelper.java b/common/src/main/java/org/vivecraft/client_vr/render/helpers/RenderHelper.java index 2179bf58e..a9f75cadb 100644 --- a/common/src/main/java/org/vivecraft/client_vr/render/helpers/RenderHelper.java +++ b/common/src/main/java/org/vivecraft/client_vr/render/helpers/RenderHelper.java @@ -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);