aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
authorThierry Crozat2017-11-11 00:15:13 +0000
committerThierry Crozat2017-11-11 00:15:13 +0000
commit1d1f898c012902c719b9f31c2db39e6026b8af69 (patch)
tree7578afb0420abefbec9ff0a19843f909932eea92 /common/util.h
parentb93fefebe8f449d7522047283bab163b8c91d8a4 (diff)
downloadscummvm-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