diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-01-19 19:42:57 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-01-19 19:42:57 +0200 |
commit | 3b73cec39e79fb4494e6992528b190a6c445b239 (patch) | |
tree | 56510fcfbd55e5192471d52483568b2add6da7e1 /indra | |
parent | 774339c415e1a4762ef39cbca7e5f6a4d731b7df (diff) |
Build fix for non-dpi aware environment
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 9fa07d1d34..38f8989797 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -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; |