From 38df43fe55a699b491e8e716762abea8b779cd92 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 11 Jan 2016 01:46:28 +0200 Subject: LAB: Prevent excessive screen updates when checking for events --- engines/lab/eventman.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'engines/lab/eventman.cpp') 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() { -- cgit v1.2.3