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 OpenGL Win32 window ignoring "hidden" parameter #436

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

mixrigster
Copy link
Contributor

Currently, when creating a render window on OpenGL Win32 with the "hidden" parameter set to true the window remains visible.
This is because mHidden is never set correctly and while the window is correctly created invisible, it immediately gets updated afterwards based on the (wrong) value of mHidden.

This fix sets mHidden to the correct value and also removes the redundant call to SetHidden().

@darksylinc darksylinc merged commit aa6117b into OGRECave:master Jul 27, 2024
2 checks passed
@darksylinc
Copy link
Member

This PR spent too much time unmerged. Sorry for that!

Thanks for your contribution!

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