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

wayland: Add unscaled resolutions to the display mode list #4301

Merged
merged 2 commits into from
Apr 13, 2021

Conversation

flibitijibibo
Copy link
Collaborator

This adds an SDL_AddDisplayMode call to make the Wayland resolution list similar to macOS; the desktop mode should be scaled but we also want to provide unscaled resolutions provided by the server so that clients can do proper high-DPI support by targeting the display mode dimensions as drawable sizes, rather than window sizes.

@slouken slouken merged commit f88d91d into libsdl-org:main Apr 13, 2021
@flibitijibibo flibitijibibo deleted the wl-resolutions branch April 13, 2021 23:03
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