diff options
author | Thierry Crozat | 2017-11-11 00:15:13 +0000 |
---|---|---|
committer | Thierry Crozat | 2017-11-11 00:15:13 +0000 |
commit | 1d1f898c012902c719b9f31c2db39e6026b8af69 (patch) | |
tree | 7578afb0420abefbec9ff0a19843f909932eea92 /common/util.h | |
parent | b93fefebe8f449d7522047283bab163b8c91d8a4 (diff) | |
download | scummvm-rg350-1d1f898c012902c719b9f31c2db39e6026b8af69.tar.gz scummvm-rg350-1d1f898c012902c719b9f31c2db39e6026b8af69.tar.bz2 scummvm-rg350-1d1f898c012902c719b9f31c2db39e6026b8af69.zip |
SDL: Preserve mouse position when switching between OpenGL and SurfaceSDL backends
Since those GraphcisManager initialize the cursor position to (0,0) when
created the cursor was jumping to the top left corner and then moving
back to its initial position as soon as the mouse was moved. Now it
stays at its initial position.
There are still some issues with it when changing between OpenGL and
SurfaceSDL at the same time as toggling fullscreen. But it is not worse
than before.
Diffstat (limited to 'common/util.h')
0 files changed, 0 insertions, 0 deletions