Skip to content

Conversation

@icculus
Copy link
Collaborator

@icculus icculus commented Dec 7, 2025

This updates SDL_PROP_SURFACE_ROTATION_NUMBER to be SDL_PROP_SURFACE_ROTATION_FLOAT, and then updates SDL_RotateSurface to reflect rotation changes in that property, if set.

Fixes #14616.

Adjusted camera internals to work in floats, too.

Reference Issue libsdl-org#14616.
@icculus icculus added this to the 3.4.0 milestone Dec 7, 2025
@icculus icculus self-assigned this Dec 7, 2025
@icculus icculus force-pushed the sdl3-rotatesurface-update-property branch from b0e161f to 48a1b2c Compare December 8, 2025 02:15
@icculus
Copy link
Collaborator Author

icculus commented Dec 8, 2025

Made that one fix and rebased; merging when the builders approve.

@icculus icculus merged commit 5813d0e into libsdl-org:main Dec 8, 2025
43 checks passed
@icculus icculus deleted the sdl3-rotatesurface-update-property branch December 8, 2025 03: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.

Update SDL_PROP_SURFACE_ROTATION_NUMBER when using SDL_RotateSurface()

2 participants