diff options
author | Eugene Sandulenko | 2016-07-03 11:56:16 +0200 |
---|---|---|
committer | GitHub | 2016-07-03 11:56:16 +0200 |
commit | 6a1dbf97b4e724c2f12339eabf0849cc847ec641 (patch) | |
tree | 4fecf36b8b95829ec2b237c33582637a03e11881 /backends | |
parent | 57a53420c366d327581cee72181bd6bed8d8e7c7 (diff) | |
parent | da55658a804e12feb068d148d9d2d41c62b0e2f9 (diff) | |
download | scummvm-rg350-6a1dbf97b4e724c2f12339eabf0849cc847ec641.tar.gz scummvm-rg350-6a1dbf97b4e724c2f12339eabf0849cc847ec641.tar.bz2 scummvm-rg350-6a1dbf97b4e724c2f12339eabf0849cc847ec641.zip |
Merge pull request #772 from BenCastricum/bugfixes
MISC: Bugfixes
Diffstat (limited to 'backends')
-rw-r--r-- | backends/graphics/surfacesdl/surfacesdl-graphics.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp index 21345515bc..5b591e77ff 100644 --- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp +++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp @@ -2047,7 +2047,7 @@ void SurfaceSdlGraphicsManager::undrawMouse() { return; if (_mouseBackup.w != 0 && _mouseBackup.h != 0) - addDirtyRect(x, y - _currentShakePos, _mouseBackup.w, _mouseBackup.h); + addDirtyRect(x, y, _mouseBackup.w, _mouseBackup.h); } void SurfaceSdlGraphicsManager::drawMouse() { @@ -2088,9 +2088,7 @@ void SurfaceSdlGraphicsManager::drawMouse() { // We draw the pre-scaled cursor image, so now we need to adjust for // scaling, shake position and aspect ratio correction manually. - if (!_overlayVisible) { - dst.y += _currentShakePos; - } + dst.y += _currentShakePos; if (_videoMode.aspectRatioCorrection && !_overlayVisible) dst.y = real2Aspect(dst.y); |