Closed ceski-1 closed 3 weeks ago
We only use SDL_GetMouseState() and SDL_GetRelativeMouseState(). so SDL_MOUSEMOTION events were already being ignored. This also prevents them from getting added to queue, so they aren't processed by SDL_PollEvent().
SDL_GetMouseState()
SDL_GetRelativeMouseState()
SDL_MOUSEMOTION
SDL_PollEvent()
We only use
SDL_GetMouseState()
andSDL_GetRelativeMouseState()
. soSDL_MOUSEMOTION
events were already being ignored. This also prevents them from getting added to queue, so they aren't processed bySDL_PollEvent()
.