diff options
Diffstat (limited to 'backends')
-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; |