diff --git a/platform.d b/platform.d index 786165b..8a99aa3 100644 --- a/platform.d +++ b/platform.d @@ -81,7 +81,7 @@ struct Inputs } void -Reset(Inputs* inputs) +ResetInputs(Inputs* inputs) { inputs.list.first = inputs.list.last; Reset(&inputs.arena); @@ -350,6 +350,7 @@ HandleEvents(PlatformWindow* window) bool ignore_mouse_events = false; Inputs* inputs = &window.inputs; + ResetInputs(inputs); do {