Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/11.x-1.19.4' into 12.x-1.20
Browse files Browse the repository at this point in the history
# Conflicts:
#	runtime/src/main/java/me/shedaniel/rei/impl/client/gui/RecipeDisplayExporter.java
  • Loading branch information
shedaniel committed Nov 2, 2023
2 parents 3a6f6fc + 536b284 commit 48db9a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static void exportRecipe(Rectangle rectangle, DisplaySpec display, List<
RenderTarget renderTarget = new TextureTarget(window.getWidth(), window.getHeight(), true, false);
renderTarget.bindWrite(true);
RenderSystem.clear(256, Minecraft.ON_OSX);
Matrix4f matrix4f = new Matrix4f().setOrtho(0.0F, (float) ((double) window.getWidth() / window.getGuiScale()), 0.0F, (float) ((double) window.getHeight() / window.getGuiScale()), 1000.0F, 3000.0F);
Matrix4f matrix4f = new Matrix4f().setOrtho(0.0F, (float) ((double) window.getWidth() / window.getGuiScale()), (float) ((double) window.getHeight() / window.getGuiScale()), 0.0F, 1000.0F, 3000.0F);
RenderSystem.setProjectionMatrix(matrix4f, VertexSorting.ORTHOGRAPHIC_Z);
PoseStack poseStack = RenderSystem.getModelViewStack();
poseStack.pushPose();
Expand Down

0 comments on commit 48db9a4

Please sign in to comment.