Fix incorrect define _WIN32_WINNT_WINBLUE

On Windows 8 app crach, not correct check version in _glfwPlatformInit.

IsWindows8Point1OrGreater() return true on Windows 8.
SetProcessDpiAwareness crach, _glfw.win32.shcore.SetProcessDpiAwareness_ is NULL.
This commit is contained in:
Vladimir Perminov 2020-09-29 20:03:42 +03:00
parent 1353f37a51
commit b9750c88b4

View File

@ -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