diff options
author | James Brown | 2004-02-25 06:08:00 +0000 |
---|---|---|
committer | James Brown | 2004-02-25 06:08:00 +0000 |
commit | 70c3d3b66e15d2f6706bc1b276630386447f979e (patch) | |
tree | 8c3850a9fb064f16712c41cb2ef3ec5fb866b6dc | |
parent | 3999a9d604e305be63cefcc166cb92936301e1af (diff) | |
download | scummvm-rg350-70c3d3b66e15d2f6706bc1b276630386447f979e.tar.gz scummvm-rg350-70c3d3b66e15d2f6706bc1b276630386447f979e.tar.bz2 scummvm-rg350-70c3d3b66e15d2f6706bc1b276630386447f979e.zip |
Fix SDL backend compilation
svn-id: r13042
-rw-r--r-- | backends/sdl/sdl-common.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 4e4d522f41..9e280ddd3e 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -1120,10 +1120,11 @@ void OSystem_SDL_Common::setFeatureState(Feature f, bool enable) { // use hotswap_gfx_mode() directly to switch to fullscreen mode. hotswap_gfx_mode(); #else - if (!SDL_WM_ToggleFullScreen(_hwscreen)) { + // FIXME: _hwscreen is not currently available from SDL_Common's scope + //if (!SDL_WM_ToggleFullScreen(_hwscreen)) { // if ToggleFullScreen fails, achieve the same effect with hotswap gfx mode hotswap_gfx_mode(); - } + //} #endif } break; |