From 095549125b303db33702f30aeacb924e0b703ea0 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Dec 2004 14:47:22 +0000 Subject: getFeatureState should only be allowed when we are *not* in a GFX transaction (and not vice versa) svn-id: r15982 --- backends/sdl/sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3