From b9750c88b4d37e8a5590c4018952e70b071d8b7f Mon Sep 17 00:00:00 2001 From: Vladimir Perminov Date: Tue, 29 Sep 2020 20:03:42 +0300 Subject: [PATCH] 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. --- src/win32_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32_platform.h b/src/win32_platform.h index 260a77ff7..4f5205147 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -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