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:
parent
253ddbcfc6
commit
f3f237e647
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue