Skip to content

Commit a095dc2

Browse files
committed
Disabling DPI Scaling on Windows
1 parent f26b0f4 commit a095dc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

RemoteInput/Platform/Platform_Windows.cxx

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ void GetDesktopResolution(int &width, int &height) noexcept
3939
width = desktop.right;
4040
height = desktop.bottom;
4141

42+
/*
4243
// DPI Scaling
4344
HMODULE user32 = GetModuleHandleA("User32.dll");
4445
HMODULE shcore = GetModuleHandleA("Shcore.dll");
@@ -66,7 +67,7 @@ void GetDesktopResolution(int &width, int &height) noexcept
6667
}
6768
}
6869
}
69-
70+
*/
7071
}
7172

7273
std::int32_t GetCurrentThreadID() noexcept

0 commit comments

Comments
 (0)