diff options
author | Max Horn | 2008-09-20 16:10:29 +0000 |
---|---|---|
committer | Max Horn | 2008-09-20 16:10:29 +0000 |
commit | 383014f330639da5bddfd6ba94a2974d6d286196 (patch) | |
tree | bee96b49edcdbc4dd432e2c403b3c8d7ff707b77 /backends/platform | |
parent | bbba275913692c026af87aed4ee6455b498b16db (diff) | |
download | scummvm-rg350-383014f330639da5bddfd6ba94a2974d6d286196.tar.gz scummvm-rg350-383014f330639da5bddfd6ba94a2974d6d286196.tar.bz2 scummvm-rg350-383014f330639da5bddfd6ba94a2974d6d286196.zip |
Fix for bug #2120602: 5ALL: Starting the launcher with -f triggers assertion
svn-id: r34617
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index 4a5c143712..030ba07ec6 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -692,7 +692,7 @@ bool OSystem_SDL::saveScreenshot(const char *filename) { void OSystem_SDL::setFullscreenMode(bool enable) { Common::StackLock lock(_graphicsMutex); - if (_fullscreen != enable || _transactionMode == kTransactionCommit) { + if (_fullscreen != enable && _transactionMode == kTransactionCommit) { assert(_hwscreen != 0); _fullscreen = enable; |