Skip to content

Commit

Permalink
Fix TextRenderer's rendering issue accidentally introduced in #116 (#119
Browse files Browse the repository at this point in the history
)

Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen authored Oct 28, 2024
1 parent f5d31eb commit 342aa27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void render() {
this.verticalAlignment.getTranslateY(totalTextHeight), 0);
context.translate(this.shiftX, this.shiftY, 0);
//#if MC > 11605
//#if MC < 12101
//#if MC < 12102
//$$ RenderSystem.applyModelViewMatrix();
//#endif
//#else
Expand Down Expand Up @@ -226,7 +226,7 @@ public void render() {
RenderGlobal.enableDepthTest();
//#endif
positionTransformer.restore();
//#if MC > 11605 && MC < 12101
//#if MC > 11605 && MC < 12102
//$$ RenderSystem.applyModelViewMatrix();
//#endif
}
Expand Down

0 comments on commit 342aa27

Please sign in to comment.