summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-08-14 09:11:23 -0700
committerGraham Linden <graham@lindenlab.com>2019-08-14 09:11:23 -0700
commited7fda069bcbf145a273b46cb2070c72d059acef (patch)
treebddfc8f9a13d55ccb05c4a24bb3022c84197bf25 /indra/llwindow
parentf03b696c3dfd859cf92db27ae7c45248d0bf8d44 (diff)
parente9ead7cc2ee9970b468ef6de0ba57726bb203ef4 (diff)
Merge viewer-release 6.2.5
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;