Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potentially incorrect blending when rendering HUD #13

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

Kenny-Hui
Copy link
Contributor

If renderHands() returns early (e.g. When no game are in progress), the blend won't be reset after enabling, potentially causing weird rendering artifacts:
image

This PR moves the line towards just before the actual rendering to alleviate the issue

@zbx1425
Copy link
Owner

zbx1425 commented Mar 7, 2025

tysm!

@zbx1425 zbx1425 merged commit 89b321d into zbx1425:master Mar 7, 2025
@Kenny-Hui Kenny-Hui deleted the fix-blend branch March 8, 2025 06:25
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.

2 participants