diff options
author | Johannes Schickel | 2010-08-02 20:43:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-08-02 20:43:42 +0000 |
commit | 2b73c50a476a20864f3631e3d3c2ac24710fe3a3 (patch) | |
tree | fca5538890c32c2e717fd73a09360b42e73aa953 /gui | |
parent | a46f69570f5307ed962e92db9d858783b93ef098 (diff) | |
download | scummvm-rg350-2b73c50a476a20864f3631e3d3c2ac24710fe3a3.tar.gz scummvm-rg350-2b73c50a476a20864f3631e3d3c2ac24710fe3a3.tar.bz2 scummvm-rg350-2b73c50a476a20864f3631e3d3c2ac24710fe3a3.zip |
GUI: Fix valgrind warning.
svn-id: r51658
Diffstat (limited to 'gui')
-rw-r--r-- | gui/GuiManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/GuiManager.cpp b/gui/GuiManager.cpp index ab370425ab..bbd7718d71 100644 --- a/gui/GuiManager.cpp +++ b/gui/GuiManager.cpp @@ -249,6 +249,9 @@ void GuiManager::runLoop() { redraw(); } + _lastMousePosition.x = _lastMousePosition.y = -1; + _lastMousePosition.time = 0; + Common::EventManager *eventMan = _system->getEventManager(); uint32 lastRedraw = 0; const uint32 waitTime = 1000 / 45; |