mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Win32: Fix bad content scale on monitor disconnect
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 #1615
(cherry picked from commit fbfd7e65c8)
This commit is contained in:
@@ -62,6 +62,7 @@ video tutorials.
|
||||
- Mário Freitas
|
||||
- GeO4d
|
||||
- Marcus Geelnard
|
||||
- ghuser404
|
||||
- Charles Giessen
|
||||
- Ryan C. Gordon
|
||||
- Stephen Gowen
|
||||
|
||||
Reference in New Issue
Block a user