From 067561a7199ad560522e22677499e82acbb5f471 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sun, 4 Feb 2024 09:24:38 -0500 Subject: [PATCH] Disabling DPI Scaling on Windows --- RemoteInput/Platform/Platform_Windows.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RemoteInput/Platform/Platform_Windows.cxx b/RemoteInput/Platform/Platform_Windows.cxx index 6d1836b..c11dfbf 100644 --- a/RemoteInput/Platform/Platform_Windows.cxx +++ b/RemoteInput/Platform/Platform_Windows.cxx @@ -39,6 +39,7 @@ void GetDesktopResolution(int &width, int &height) noexcept width = desktop.right; height = desktop.bottom; + /* // DPI Scaling HMODULE user32 = GetModuleHandleA("User32.dll"); HMODULE shcore = GetModuleHandleA("Shcore.dll"); @@ -66,7 +67,7 @@ void GetDesktopResolution(int &width, int &height) noexcept } } } - + */ } std::int32_t GetCurrentThreadID() noexcept