From 08ff8d281fed0ebdf43032783965a8ca1158f2d5 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 19 Dec 2008 17:54:45 +0000 Subject: 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 --- backends/platform/sdl/graphics.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends') 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; -- cgit v1.2.3