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 ] Minor refactoring to DisplayInfo.class #2345 #2349

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

JNightRider
Copy link
Contributor

This PR fixes issue #2345 by refactoring class DisplayInfo to have better encapsulation. The new changes are intended to make the class as immutable as possible for end users, except for internal JME processes.

I'd like to point out that I've renamed the variable displayID to display since that variable (long) is actually a pointer that lwjgl3 returns and not an identifier itself (the old name might be a bit confusing).

@yaRnMcDonuts yaRnMcDonuts merged commit 03c26a8 into jMonkeyEngine:master Jan 29, 2025
15 checks passed
@stephengold stephengold added this to the v3.8.0 milestone Feb 22, 2025
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.

3 participants