diff options
author | Max Horn | 2004-12-04 14:47:22 +0000 |
---|---|---|
committer | Max Horn | 2004-12-04 14:47:22 +0000 |
commit | 095549125b303db33702f30aeacb924e0b703ea0 (patch) | |
tree | f47d0af70ab490e9d9d70cd14036f0d369596dd9 /backends | |
parent | 634b99037bf923b4bd47405cb018f9f8fcd7eccf (diff) | |
download | scummvm-rg350-095549125b303db33702f30aeacb924e0b703ea0.tar.gz scummvm-rg350-095549125b303db33702f30aeacb924e0b703ea0.tar.bz2 scummvm-rg350-095549125b303db33702f30aeacb924e0b703ea0.zip |
getFeatureState should only be allowed when we are *not* in a GFX transaction (and not vice versa)
svn-id: r15982
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 2b825d2327..6bfcebca1c 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -170,7 +170,7 @@ void OSystem_SDL::setFeatureState(Feature f, bool enable) { } bool OSystem_SDL::getFeatureState(Feature f) { - assert (_transactionMode != kTransactionNone); + assert (_transactionMode == kTransactionNone); switch (f) { case kFeatureFullscreenMode: |