diff options
author | David Robillard <d@drobilla.net> | 2023-01-10 11:55:36 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-10 11:55:36 -0500 |
commit | 604dbd1e736c88bbba36da4a9422615936b856d7 (patch) | |
tree | f9a83d772b83fdab1f2f5834291e43d9b566851b /include | |
parent | 4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d (diff) | |
download | pugl-604dbd1e736c88bbba36da4a9422615936b856d7.tar.gz pugl-604dbd1e736c88bbba36da4a9422615936b856d7.tar.bz2 pugl-604dbd1e736c88bbba36da4a9422615936b856d7.zip |
Windows: Make puglGetScaleFactor always return a reasonable value
This guesses the likely scale factor when the view hasn't been realized (and so
there's no real window to get information for). It may still be wrong for
multiple display systems, but will always return some scale factor that
"exists" on the system, and should always be correct when there's only one
display.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions