Skip to content

Commit

Permalink
test make it dpi aware
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazer committed May 21, 2024
1 parent 92c329d commit 98363b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/windows/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Check warning on line 550 in src/platform/windows/input.cpp

View check run for this annotation

Codecov / codecov/patch

src/platform/windows/input.cpp#L550

Added line #L550 was not covered by tests
Expand Down

0 comments on commit 98363b0

Please sign in to comment.