aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-07-06 11:35:55 +0300
committerAndrei Prykhodko2018-07-06 11:41:14 +0300
commit69f96a311f022143be750c83552b014691be7cb1 (patch)
tree7b7f3475531bbfb1b820e320eda66997a6e4bb64
parent42c8212713d5a0b5a60cf5319667c647f7376b8c (diff)
downloadscummvm-rg350-69f96a311f022143be750c83552b014691be7cb1.tar.gz
scummvm-rg350-69f96a311f022143be750c83552b014691be7cb1.tar.bz2
scummvm-rg350-69f96a311f022143be750c83552b014691be7cb1.zip
PINK: removed updating screen on setting cursor because it produces too much drawing calls
-rw-r--r--engines/pink/pink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/pink.cpp b/engines/pink/pink.cpp
index 1748b28c78..f827ae9038 100644
--- a/engines/pink/pink.cpp
+++ b/engines/pink/pink.cpp
@@ -262,7 +262,7 @@ void PinkEngine::setCursor(uint cursorIndex) {
_system->setCursorPalette(cursor->getPalette(), cursor->getPaletteStartIndex(), cursor->getPaletteCount());
_system->setMouseCursor(cursor->getSurface(), cursor->getWidth(), cursor->getHeight(),
cursor->getHotspotX(), cursor->getHotspotY(), cursor->getKeyColor());
- _system->updateScreen();
+ _system->showMouse(true);
}
bool PinkEngine::canLoadGameStateCurrently() {