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[pojavexec]: fix incorrect JNIEnv usage in some cases #6510

Merged
merged 3 commits into from
Jan 20, 2025

Conversation

artdeell
Copy link
Member

@artdeell artdeell commented Jan 19, 2025

Fixes incorrect JNIEnv usages which broke:

  • 1.3-1.5.2 startup size
  • Forge window resizing

These caused some irreliability, as pojavexec isn't guaranteed to be loaded on the same thread as the call to glfwInit

This fixes:
- 1.3-1.5.2 setting their window size to 0,0 (and thus not working correctly)
- Forge for <1.13 not resizing its window
@artdeell artdeell merged commit 55e53ea into v3_openjdk Jan 20, 2025
2 checks passed
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