Remove hack - now the cannon scene works in fullscreen linux. Someone tell me how it goes for Windows

svn-id: r6372
This commit is contained in:
James Brown 2003-01-09 18:02:17 +00:00
parent 253ddbcfc6
commit f3f237e647

View file

@ -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);
}