Build fix for non-dpi aware environment

meow-7.2.2
andreykproductengine 2018-01-19 19:42:57 +02:00
parent 774339c415
commit 3b73cec39e
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ const F32 ICON_FLASH_TIME = 0.5f;
#define WM_DPICHANGED 0x02E0
#endif
#ifndef USER_DEFAULT_SCREEN_DPI
#define USER_DEFAULT_SCREEN_DPI 96 // Win7
#endif
extern BOOL gDebugWindowProc;
LPWSTR gIconResource = IDI_APPLICATION;