Alexandre Julliard pushed to branch master at wine / wine
Commits: 52c0090c by Rémi Bernon at 2025-10-20T20:49:35+02:00 win32u: Use floats for map_monitor_rect computation.
Avoiding rounding errors caused by dpi_from and dpi * 2 denominators. It's possible to tweak the operations to move the division up to the end but it increases the risk of overflows. Let's just use floats for this.
Based on a patch from Conor McCarthy.
- - - - -
1 changed file:
- dlls/win32u/sysparams.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/52c0090c81f66e1f67d3a391f309e5a...