From 6fb944befd6e7bc089d4e7cc309ee1f6e8d89dc7 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 27 Apr 2005 14:47:19 +0000 Subject: 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 --- backends/sdl/graphics.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends') 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(); -- cgit v1.2.3