diff options
Diffstat (limited to 'backends/sdl/sdl.cpp')
| -rw-r--r-- | backends/sdl/sdl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 2560388ed3..3a32642aae 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -132,14 +132,14 @@ bool OSystem_SDL::hasFeature(Feature f) { } void OSystem_SDL::setFeatureState(Feature f, bool enable) { - Common::StackLock lock(_graphicsMutex, this); - switch (f) { case kFeatureFullscreenMode: setFullscreenMode(enable); break; case kFeatureAspectRatioCorrection: if (_screenHeight == 200 && _adjustAspectRatio != enable) { + Common::StackLock lock(_graphicsMutex, this); + //assert(_hwscreen != 0); _adjustAspectRatio ^= true; hotswap_gfx_mode(); |
