GUI: Fix valgrind warning.

svn-id: r51658
This commit is contained in:
Johannes Schickel 2010-08-02 20:43:42 +00:00
parent a46f69570f
commit 2b73c50a47

View File

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