From 70c3d3b66e15d2f6706bc1b276630386447f979e Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 25 Feb 2004 06:08:00 +0000 Subject: Fix SDL backend compilation svn-id: r13042 --- backends/sdl/sdl-common.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backends/sdl') 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; -- cgit v1.2.3