-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ImGui integration: Make sure scalingfactor is > 0, don't use X11 dire…
…ctly fixes #632 The bug was most probably not caused by D3_SDL_X11 but by GetDefaultDPI() returning -1.0 which GetDefaultScale() then divided by 96 and rounded to 0.0, which is not a good scaling factor. I decided to kick the D3_SDL_X11 special case anyway.
- Loading branch information
1 parent
d94bb42
commit b8e701b
Showing
2 changed files
with
7 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters