diff --git a/src/platform/windows/input.cpp b/src/platform/windows/input.cpp index 3a1e39b8140..d406bc13e15 100644 --- a/src/platform/windows/input.cpp +++ b/src/platform/windows/input.cpp @@ -544,6 +544,7 @@ namespace platf { util::point_t get_mouse_loc(input_t &input) { + SetProcessDPIAware(); POINT p; if (!GetCursorPos(&p)) { return util::point_t { 0.0, 0.0 };