Avoid warping the mouse cursor more than necessary
Apparently, the SDL_WarpMouseInWindow can be very expensive (anywhere from 0.1-5ms) due to XSync() in the implementation. This was causing no-grab=1 configurations to suffer from terrible stuttering when turning the view.pull/185/head
parent
a8517c34eb
commit
c1fe9f2a89
Loading…
Reference in New Issue