fix naming conflict
This commit is contained in:
parent
216e5e67b9
commit
a11196e66f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user