summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-08-14 15:02:56 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-08-14 15:02:56 +0300
commitbe7713cab26032d6f5f6a739122d955df0955092 (patch)
tree87b6ea50f3e47b3033fd46be79d4e451133995ef /indra/llwindow
parentbc5d79e06e1664abd33fbe41e5ec3655f33b7e32 (diff)
parente9ead7cc2ee9970b468ef6de0ba57726bb203ef4 (diff)
Merged in lindenlab/viewer-release
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 97cd31de81..985bd79d13 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4036,7 +4036,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;