1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-19 19:39:41 +00:00
openmw/components/sdlutil
scrawl c1fe9f2a89 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.
2017-03-14 00:31:27 +01:00
..
events.hpp
imagetosurface.cpp
imagetosurface.hpp
OISCompat.hpp
sdlcursormanager.cpp
sdlcursormanager.hpp
sdlgraphicswindow.cpp
sdlgraphicswindow.hpp
sdlinputwrapper.cpp Avoid warping the mouse cursor more than necessary 2017-03-14 00:31:27 +01:00
sdlinputwrapper.hpp
sdlvideowrapper.cpp
sdlvideowrapper.hpp