From 53dc08a7fd59b45c2edcd6f9dea24b03d59a12ce Mon Sep 17 00:00:00 2001 From: Vithorio Polten Date: Wed, 22 May 2024 16:51:50 -0300 Subject: [PATCH] ops --- src/platform/macos/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/macos/input.cpp b/src/platform/macos/input.cpp index f3973f10d35..be639d39ef0 100644 --- a/src/platform/macos/input.cpp +++ b/src/platform/macos/input.cpp @@ -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));