aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOystein Eftevaag2006-08-26 20:05:49 +0000
committerOystein Eftevaag2006-08-26 20:05:49 +0000
commit11b7cfca101b4a05cd8a0d9b61c4ae4ba7e99eea (patch)
tree30feb95a8b17673c72be2339f445e3fff47d0131
parent69daf49a730b08fd5b9627a9ca803123426dfa69 (diff)
downloadscummvm-rg350-11b7cfca101b4a05cd8a0d9b61c4ae4ba7e99eea.tar.gz
scummvm-rg350-11b7cfca101b4a05cd8a0d9b61c4ae4ba7e99eea.tar.bz2
scummvm-rg350-11b7cfca101b4a05cd8a0d9b61c4ae4ba7e99eea.zip
Stop doing a screen rewrite on each mouse movement event, just schedule a redraw for later instead
svn-id: r23764
-rw-r--r--engines/kyra/kyra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp
index bee1368be6..f67da7fa4d 100644
--- a/engines/kyra/kyra.cpp
+++ b/engines/kyra/kyra.cpp
@@ -599,7 +599,7 @@ void KyraEngine::delay(uint32 amount, bool update, bool isMainLoop) {
case OSystem::EVENT_MOUSEMOVE:
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
- _system->updateScreen();
+ _animator->_updateScreen = true;
break;
case OSystem::EVENT_QUIT:
quitGame();