Fix scrolling

This commit is contained in:
Ilia Demianenko 2023-09-11 02:10:28 -07:00 committed by MartinFouilleul
parent 06a7642055
commit afbb4329f5
1 changed files with 0 additions and 1 deletions

View File

@ -98,7 +98,6 @@ static void oc_update_mouse_wheel(oc_input_state* state, f32 deltaX, f32 deltaY)
oc_mouse_state* mouse = &state->mouse;
if(mouse->lastUpdate != frameCounter)
{
mouse->posValid = false;
mouse->delta = (oc_vec2){ 0, 0 };
mouse->wheel = (oc_vec2){ 0, 0 };
mouse->lastUpdate = frameCounter;