From 6f9f2ddf37abddc272a0bd772b1081be831d6746 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 18 Sep 2009 12:38:53 +0000 Subject: Update game screen after changing the active scaler via hotkeys. This fixes black screens in occasions, where the engine does not call updateScreen itself after a scaler change. svn-id: r44183 --- backends/platform/sdl/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index a67e35cf73..89e3a38bcb 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -1927,7 +1927,7 @@ void OSystem_SDL::handleScalerHotkeys(const SDL_KeyboardEvent &key) { ); displayMessageOnOSD(buffer); #endif - + internUpdateScreen(); return; } @@ -1983,7 +1983,7 @@ void OSystem_SDL::handleScalerHotkeys(const SDL_KeyboardEvent &key) { } } #endif - + internUpdateScreen(); } } -- cgit v1.2.3