aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJames Brown2003-01-09 18:02:17 +0000
committerJames Brown2003-01-09 18:02:17 +0000
commitf3f237e647f3491be26764ac1e15d10b1f4399e7 (patch)
tree5a2362060f9f6d4f3f5ac3f930f74bfd798324a4 /backends
parent253ddbcfc65194ded8a5b7a1a8982c31c12e28b2 (diff)
downloadscummvm-rg350-f3f237e647f3491be26764ac1e15d10b1f4399e7.tar.gz
scummvm-rg350-f3f237e647f3491be26764ac1e15d10b1f4399e7.tar.bz2
scummvm-rg350-f3f237e647f3491be26764ac1e15d10b1f4399e7.zip
Remove hack - now the cannon scene works in fullscreen linux. Someone tell me how it goes for Windows
svn-id: r6372
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/sdl-common.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index 5f0b58e561..c83bba117b 100644
--- a/backends/sdl/sdl-common.cpp
+++ b/backends/sdl/sdl-common.cpp
@@ -400,12 +400,7 @@ void OSystem_SDL_Common::set_mouse_pos(int x, int y) {
}
void OSystem_SDL_Common::warp_mouse(int x, int y) {
- // FIXME: For whatever reason, I can't get CMI's cannon scene to work
- // properly in fullscreen mode unless I temporarily show the mouse
- // cursor here.
- if (_full_screen) SDL_ShowCursor(SDL_ENABLE);
SDL_WarpMouse(x * _scaleFactor, y * _scaleFactor);
- if (_full_screen) SDL_ShowCursor(SDL_DISABLE);
// set_mouse_pos(x, y);
}