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
This commit is contained in:
Torbjörn Andersson 2005-04-27 14:47:19 +00:00
parent 7c3cfae122
commit 6fb944befd

View file

@ -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();