Skip to content

Commit

Permalink
ops
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazer committed May 22, 2024
1 parent 28fceb9 commit 53dc08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/macos/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ const KeyCodeMap kKeyCodesMap[] = {
// }
// }
//
// if (macos_input->display != nullptr) {
// if (macos_input->display != 0) {
// // Input coordinates are based on the virtual resolution not the physical, so we need the scaling factor
// const CGDisplayModeRef mode = CGDisplayCopyDisplayMode(macos_input->display);
// macos_input->displayScaling = ((CGFloat) CGDisplayPixelsWide(macos_input->display)) / ((CGFloat) CGDisplayModeGetPixelWidth(mode));
Expand Down

0 comments on commit 53dc08a

Please sign in to comment.