aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-02-27 05:58:08 +0000
committerTorbjörn Andersson2009-02-27 05:58:08 +0000
commitce4d9bc06651418f3d254c3d5d2b1f4711b255ee (patch)
treecdcae4466570ed304ef46c26eace7125daa73bbc /backends
parent53572f6c0782109c66559bcab9d99e6dc4eb7cf4 (diff)
downloadscummvm-rg350-ce4d9bc06651418f3d254c3d5d2b1f4711b255ee.tar.gz
scummvm-rg350-ce4d9bc06651418f3d254c3d5d2b1f4711b255ee.tar.bz2
scummvm-rg350-ce4d9bc06651418f3d254c3d5d2b1f4711b255ee.zip
Changing the visibility of the mouse means it has to be redrawn. At least, this
fixes a regression in Broken Sword 1 when using one inventory object on another (if the cursor is partly beneath the inventory bar) for me. svn-id: r38926
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/sdl/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index 1419ea171c..b4bf48d808 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -1275,6 +1275,7 @@ bool OSystem_SDL::showMouse(bool visible) {
bool last = _mouseVisible;
_mouseVisible = visible;
+ _mouseNeedsRedraw = true;
return last;
}