diff options
author | Torbjörn Andersson | 2008-12-19 17:54:45 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-12-19 17:54:45 +0000 |
commit | 08ff8d281fed0ebdf43032783965a8ca1158f2d5 (patch) | |
tree | 3e2daddc32a7c1650093cb5baf4248b52c4cd08b | |
parent | c6bd85e370b2f533e207457c4b40fe55ef823494 (diff) | |
download | scummvm-rg350-08ff8d281fed0ebdf43032783965a8ca1158f2d5.tar.gz scummvm-rg350-08ff8d281fed0ebdf43032783965a8ca1158f2d5.tar.bz2 scummvm-rg350-08ff8d281fed0ebdf43032783965a8ca1158f2d5.zip |
Allow changing the scaler using hotkeys again. I hope this is the correct way
of fixing it. (I've added a final case to endGFXTransaction for when the screen
just needs to be updated, without any changes in mode or size.)
svn-id: r35443
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index 32ea425f8c..4a05a03973 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -170,6 +170,9 @@ OSystem::TransactionError OSystem_SDL::endGFXTransaction(void) { if (_transactionDetails.needUpdatescreen) internUpdateScreen(); } + } else if (_transactionDetails.needUpdatescreen) { + setGraphicsModeIntern(); + internUpdateScreen(); } _transactionMode = kTransactionNone; |