summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-08-13 21:58:10 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-08-13 21:58:10 +0300
commit823cef92ed9f22943888172f35b88f1a8efa0d8b (patch)
tree716a06f4b9584a5c85ded985c06d20224addd992 /indra/llwindow
parent8d77d51e636f5384b0b024350a0a219e041b5446 (diff)
parentef423bfb81283a657207274b20d0ab012962656a (diff)
Merged in lindenlab/viewer-lynx
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindowwin32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index 66b8bf8aee..e05f507506 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4047,7 +4047,7 @@ void LLWindowWin32::setDPIAwareness()
F32 LLWindowWin32::getSystemUISize()
{
- float scale_value = 0;
+ F32 scale_value = 1.f;
HWND hWnd = (HWND)getPlatformWindow();
HDC hdc = GetDC(hWnd);
HMONITOR hMonitor;