Skip to content

Conversation

@Kontrabant
Copy link
Contributor

…size

Recalculate the backing viewport dimensions in the resize handler, otherwise, this data can be out-of-sync with the logical window size if queried during transition animations.

Fixes #13281

…size

Recalculate the backing viewport dimensions in the resize handler, otherwise, this data can be out-of-sync with the logical window size if queried during transition animations.
@Kontrabant Kontrabant merged commit 05ce978 into libsdl-org:main Nov 3, 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.

SDL_GetWindowPixelDensity() reporting incorrect pixel density on macOS

1 participant