From 263cd8435ddd7a1cf67b39c2933e606a891bfe7b Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 29 Aug 2025 07:59:45 +1000 Subject: [PATCH] rename Reset function in platform, reset inputs on HandleEvents call --- platform.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {