From d76fe85af4c160a83dd82e6df0fc6cb5e9f68790 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 11 Jan 2016 01:49:31 +0200 Subject: LAB: Prevent duplicate processing of input --- engines/lab/dispman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/lab/dispman.cpp') diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index 41f51ddbed..8be1772826 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -403,11 +403,11 @@ void DisplayMan::drawHLine(uint16 x1, uint16 y, uint16 x2, byte color) { } void DisplayMan::screenUpdate() { + _vm->_event->processInput(); + _vm->_system->copyRectToScreen(_displayBuffer, _screenWidth, 0, 0, _screenWidth, _screenHeight); _vm->_console->onFrame(); _vm->_system->updateScreen(); - - _vm->_event->processInput(); } void DisplayMan::createScreen(bool hiRes) { -- cgit v1.2.3