rename Reset function in platform, reset inputs on HandleEvents call
This commit is contained in:
parent
cdfe9cb660
commit
263cd8435d
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user