mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Win32: Fix value for _WIN32_WINNT_WINBLUE
An incorrect value for _WIN32_WINNT_WINBLUE caused GLFW to think Windows 8 was 8.1 or greater. This led to a crash when attempting to call SetProcessDpiAwareness. Closes #1775. (cherry picked from commit e1d71cfa4701250a44a6c02d1bbb43309ac8a46c)
This commit is contained in:
parent
214c76a3ad
commit
41ad058ce3
@ -102,7 +102,7 @@
|
||||
#define DISPLAY_DEVICE_ACTIVE 0x00000001
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WINBLUE
|
||||
#define _WIN32_WINNT_WINBLUE 0x0602
|
||||
#define _WIN32_WINNT_WINBLUE 0x0603
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WIN8
|
||||
#define _WIN32_WINNT_WIN8 0x0602
|
||||
|
Loading…
Reference in New Issue
Block a user