aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2004-12-04 14:47:22 +0000
committerMax Horn2004-12-04 14:47:22 +0000
commit095549125b303db33702f30aeacb924e0b703ea0 (patch)
treef47d0af70ab490e9d9d70cd14036f0d369596dd9 /backends
parent634b99037bf923b4bd47405cb018f9f8fcd7eccf (diff)
downloadscummvm-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.cpp2
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: