Skip to content

Commit

Permalink
Disabling DPI Scaling on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T committed Feb 22, 2024
1 parent 200722b commit 067561a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RemoteInput/Platform/Platform_Windows.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -66,7 +67,7 @@ void GetDesktopResolution(int &width, int &height) noexcept
}
}
}

*/
}

std::int32_t GetCurrentThreadID() noexcept
Expand Down

0 comments on commit 067561a

Please sign in to comment.