summaryrefslogtreecommitdiffstats
path: root/platform/macos/display_server_macos.mm
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-28 14:25:35 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-28 14:25:35 +0100
commit3a08c646ee1e9884a020a3f7ff10c6c9d28b60ba (patch)
tree3dfc7aacb349bb893df0fb4e438f8138d8c11e7a /platform/macos/display_server_macos.mm
parentdf78c0636d79c9545a283e0e2a926d623998cc27 (diff)
downloadredot-engine-3a08c646ee1e9884a020a3f7ff10c6c9d28b60ba.tar.gz
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
Diffstat (limited to 'platform/macos/display_server_macos.mm')
-rw-r--r--platform/macos/display_server_macos.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/display_server_macos.mm b/platform/macos/display_server_macos.mm
index b2014f2849..7ec2d0f65f 100644
--- a/platform/macos/display_server_macos.mm
+++ b/platform/macos/display_server_macos.mm
@@ -4102,7 +4102,7 @@ void DisplayServerMacOS::cursor_set_custom_image(const Ref<Resource> &p_cursor,
uint8_t alpha = (color >> 24) & 0xFF;
pixels[i * 4 + 0] = ((color >> 16) & 0xFF) * alpha / 255;
pixels[i * 4 + 1] = ((color >> 8) & 0xFF) * alpha / 255;
- pixels[i * 4 + 2] = ((color)&0xFF) * alpha / 255;
+ pixels[i * 4 + 2] = ((color) & 0xFF) * alpha / 255;
pixels[i * 4 + 3] = alpha;
}