From 8aee17b8d1e30f2bddf1c17e212f1fab3953428a Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 19 Nov 2016 12:05:21 +0100 Subject: [PATCH] Set DPI-awareness via manifest again --- indra/newview/llappviewerwin32.cpp | 3 ++- indra/tools/manifests/compatibility.manifest | 5 +++++ indra/tools/manifests/legacy.manifest | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp index cf47b3b0f0..f17628980b 100644 --- a/indra/newview/llappviewerwin32.cpp +++ b/indra/newview/llappviewerwin32.cpp @@ -304,7 +304,8 @@ int APIENTRY WINMAIN(HINSTANCE hInstance, DWORD heap_enable_lfh_error[MAX_HEAPS]; S32 num_heaps = 0; - LLWindowWin32::setDPIAwareness(); + // Set via manifest + //LLWindowWin32::setDPIAwareness(); #if WINDOWS_CRT_MEM_CHECKS && !INCLUDE_VLD _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); // dump memory leaks on exit diff --git a/indra/tools/manifests/compatibility.manifest b/indra/tools/manifests/compatibility.manifest index 31106cc4d5..6e80aff779 100644 --- a/indra/tools/manifests/compatibility.manifest +++ b/indra/tools/manifests/compatibility.manifest @@ -23,4 +23,9 @@ + + + true/PM + + diff --git a/indra/tools/manifests/legacy.manifest b/indra/tools/manifests/legacy.manifest index 2ec1cfcee6..899438c020 100644 --- a/indra/tools/manifests/legacy.manifest +++ b/indra/tools/manifests/legacy.manifest @@ -9,4 +9,9 @@ + + + true/PM + +