diff options
author | Johannes Schickel | 2009-09-18 12:38:53 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-09-18 12:38:53 +0000 |
commit | 6f9f2ddf37abddc272a0bd772b1081be831d6746 (patch) | |
tree | 5932210607c7b68605db1f0c7729b4e8cfea0065 /backends/platform/sdl | |
parent | 39b071bed5fca53ff5dadb85c90ad4e1ea08e971 (diff) | |
download | scummvm-rg350-6f9f2ddf37abddc272a0bd772b1081be831d6746.tar.gz scummvm-rg350-6f9f2ddf37abddc272a0bd772b1081be831d6746.tar.bz2 scummvm-rg350-6f9f2ddf37abddc272a0bd772b1081be831d6746.zip |
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
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } } |