diff options
author | Torbjörn Andersson | 2005-04-27 14:47:19 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-04-27 14:47:19 +0000 |
commit | 6fb944befd6e7bc089d4e7cc309ee1f6e8d89dc7 (patch) | |
tree | dda2dacbab2080776f1081c3347ee90750de7f4c /backends | |
parent | 7c3cfae122bd41fd4aa4c5573bbc38d53f337c38 (diff) | |
download | scummvm-rg350-6fb944befd6e7bc089d4e7cc309ee1f6e8d89dc7.tar.gz scummvm-rg350-6fb944befd6e7bc089d4e7cc309ee1f6e8d89dc7.tar.bz2 scummvm-rg350-6fb944befd6e7bc089d4e7cc309ee1f6e8d89dc7.zip |
Call blitCursor() when changing scaler to give it the opportunity to switch
between blurry and non-blurry cursor scaling, even if the scale factor
remains unchanged.
svn-id: r17841
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp index 6cd1cc94a1..7d8cc42cc6 100644 --- a/backends/sdl/graphics.cpp +++ b/backends/sdl/graphics.cpp @@ -239,6 +239,10 @@ bool OSystem_SDL::setGraphicsMode(int mode) { // Blit everything to the screen _forceFull = true; + // Even if the old and new scale factors are the same, we may have a + // different scaler for the cursor now. + blitCursor(); + if (_transactionMode != kTransactionCommit) internUpdateScreen(); |