diff options
author | Lionel Ulmer | 2002-04-28 06:51:23 +0000 |
---|---|---|
committer | Lionel Ulmer | 2002-04-28 06:51:23 +0000 |
commit | c60c97b1d4e573a45f6bef030284e915bb5b83f6 (patch) | |
tree | 0b7dc334ea9247555556601fa81e600abb41036a /sdl.cpp | |
parent | 385c91733e1cf0f2f3d4e78d69af1e9e94d4e965 (diff) | |
download | scummvm-rg350-c60c97b1d4e573a45f6bef030284e915bb5b83f6.tar.gz scummvm-rg350-c60c97b1d4e573a45f6bef030284e915bb5b83f6.tar.bz2 scummvm-rg350-c60c97b1d4e573a45f6bef030284e915bb5b83f6.zip |
Prevent debugger attach when we have switched to full-screen.
svn-id: r4125
Diffstat (limited to 'sdl.cpp')
-rw-r--r-- | sdl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -904,7 +904,8 @@ uint32 OSystem_SDL::property(int param, uint32 value) { case PROP_TOGGLE_FULLSCREEN: _full_screen ^= true; - + g_scumm->_fullScreen = _full_screen; + if (!SDL_WM_ToggleFullScreen(sdl_hwscreen)) { /* if ToggleFullScreen fails, achieve the same effect with hotswap gfx mode */ hotswap_gfx_mode(); |