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

Allow disabling scale detection #128

Merged
merged 8 commits into from
Apr 25, 2022

Conversation

fjvallarino
Copy link
Owner

@fjvallarino fjvallarino commented Apr 23, 2022

Adds a configuration flag to disable display scaling detection. This can be useful if the detected display scaling is not correct (mainly on Linux).

It also attempts to use SDL_GetDisplayDPI on Linux when auto scaling, even if it may fail. When it fails, it relies on window width to decide if scaling is applied.

Discussed here: #72

@fjvallarino fjvallarino merged commit 1ab5971 into main Apr 25, 2022
@fjvallarino fjvallarino deleted the chore/allow-disabling-scale-detection branch April 25, 2022 16:40
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.

None yet

1 participant