summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-08-13 21:59:37 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-08-13 21:59:37 +0300
commitcdcdc4b3e377061930866d8ad439871615ca3390 (patch)
tree0a472a95f684915e33fa84a533869bb10ea54e16 /indra/llwindow/llwindowwin32.cpp
parentb045831843ba81b54c46cc0b944c4481fec9f222 (diff)
parent823cef92ed9f22943888172f35b88f1a8efa0d8b (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-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 5fe907d240..8fefb119bc 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4113,7 +4113,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;