diff options
author | Filippos Karapetis | 2016-01-11 01:46:28 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-01-11 01:50:10 +0200 |
commit | 38df43fe55a699b491e8e716762abea8b779cd92 (patch) | |
tree | 396c2e706909b0d8e8dea1906b4d3a8d651b926e /engines/lab/eventman.cpp | |
parent | 6d2dca8cdd3eb8c847aac5e2ee5d050c1de741a6 (diff) | |
download | scummvm-rg350-38df43fe55a699b491e8e716762abea8b779cd92.tar.gz scummvm-rg350-38df43fe55a699b491e8e716762abea8b779cd92.tar.bz2 scummvm-rg350-38df43fe55a699b491e8e716762abea8b779cd92.zip |
LAB: Prevent excessive screen updates when checking for events
Diffstat (limited to 'engines/lab/eventman.cpp')
-rw-r--r-- | engines/lab/eventman.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp index f9b3d2f388..969cb8d8ce 100644 --- a/engines/lab/eventman.cpp +++ b/engines/lab/eventman.cpp @@ -185,10 +185,6 @@ void EventManager::processInput() { break; } } - - _vm->_system->copyRectToScreen(_vm->_graphics->_displayBuffer, _vm->_graphics->_screenWidth, 0, 0, _vm->_graphics->_screenWidth, _vm->_graphics->_screenHeight); - _vm->_console->onFrame(); - _vm->_system->updateScreen(); } Common::Point EventManager::updateAndGetMousePos() { |