The monitor handle could have become invalid just before the call to GetDpiForMonitor. It was possible for both window and monitor content scale queries. This ensures both that an appropriate error is emitted and that the retrieved values are zero on error. Fixes #1615master
parent
d1efa32983
commit
fbfd7e65c8
3 changed files with 16 additions and 1 deletions
Loading…
Reference in New Issue