From a11196e66f473ecd5256bae237c0e6bef8bd6d06 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 10 Sep 2025 03:46:49 +1000 Subject: [PATCH] fix naming conflict --- platform.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.d b/platform.d index d635697..a3dab12 100644 --- a/platform.d +++ b/platform.d @@ -91,7 +91,7 @@ Push(Inputs* inputs, Input input, i32 x, i32 y, bool pressed) } void -Push(Inputs* inputs, i32 rel_x, i32 rel_y, u16 x, u16 y) +PushMotion(Inputs* inputs, i32 rel_x, i32 rel_y, u16 x, u16 y) { DNode!(InputEvent)* node = Alloc!(DNode!(InputEvent))(&inputs.arena); node.value.key = Input.MouseMotion; @@ -421,7 +421,7 @@ HandleEvents(PlatformWindow* window) if (x > 0 || y > 0) { - Push(inputs, window.mouse_prev_x-x, window.mouse_prev_y-y, x, y); + PushMotion(inputs, window.mouse_prev_x-x, window.mouse_prev_y-y, x, y); } window.mouse_prev_x = x;