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.
master
Vladimir Perminov ago%!(EXTRA string=5 years) committed by Camilla Löwy
parent 60e7364b30
commit 53b1396a09
  1. 2
      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

Loading…
Cancel
Save