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

Move SDL_Window* to Window member field #1261

Merged
merged 4 commits into from
Mar 4, 2025
Merged

Conversation

DanRStevens
Copy link
Collaborator

This gets rid of a long standing hack concerning how the SDL_Window* handle is shared.

Fix Clang warning -Wmissing-variable-declarations.

Related:

This is in preparation for moving the `SDL_Window*` into the class. Having a pointer member field often means needing explicit copy and assignment operators. The GCC warning flag `-Werror=effc++` will warn when there is no explicit copy and assignment operators when a pointer member field is present.
This removes a long standing comment to improve how we share the window handle.
@DanRStevens DanRStevens merged commit d242146 into main Mar 4, 2025
8 checks passed
@DanRStevens DanRStevens deleted the windowHandleMember branch March 4, 2025 04:22
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