mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
b4774861db
Some video drivers could set display metrics to odd values, which can result in extra large scale factors (e.g. winit is sending 720 for 5k screen on nvidia binary drivers), so let's just drop them to prevent clients from using them. The value 20 was picked, because the DPR for 8k @ 5 inch is ~18.36. Fixes #1983. |
||
---|---|---|
.. | ||
platform | ||
platform_impl | ||
dpi.rs | ||
error.rs | ||
event.rs | ||
event_loop.rs | ||
icon.rs | ||
lib.rs | ||
monitor.rs | ||
window.rs |