rename Reset function in platform, reset inputs on HandleEvents call

This commit is contained in:
Matthew 2025-08-29 07:59:45 +10:00
parent cdfe9cb660
commit 263cd8435d

View File

@ -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
{