Skip to content

Fix ortho matrix#620

Open
BloCamLimb wants to merge 1 commit intoMcJtyMods:1.20from
BloCamLimb:1.20
Open

Fix ortho matrix#620
BloCamLimb wants to merge 1 commit intoMcJtyMods:1.20from
BloCamLimb:1.20

Conversation

@BloCamLimb
Copy link

This PR fixed #570

window.getGuiScaledWidth() and window.getWidth() / window.getGuiScale() are not the same thing. The former is the floor of the latter, and Vanilla GUI projection matrix is created in the latter way.

Signed-off-by: Icyllis Milica <pocamelards@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant