Skip to content

Fix missing pop on the pose stack#5

Open
decce6 wants to merge 1 commit into
Serilum:26.1.2from
decce6:pose-stack-fix
Open

Fix missing pop on the pose stack#5
decce6 wants to merge 1 commit into
Serilum:26.1.2from
decce6:pose-stack-fix

Conversation

@decce6
Copy link
Copy Markdown

@decce6 decce6 commented May 2, 2026

Previously, the renderOverlay method might call pushMatrix without calling popMatrix - there are several return statements in the method. This PR fixes this issue.

The diff renders poorly but all this PR does is wrap everything after pushMatrix in a try-finally block.

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