From 53b1396a09be83254e90dc4c815052a1a57ab144 Mon Sep 17 00:00:00 2001 From: Vladimir Perminov Date: Tue, 29 Sep 2020 20:03:42 +0300 Subject: [PATCH] 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. --- 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 260a77ff..4f520514 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