aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/testbed/graphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp
index 4943a42284..afb1c5800a 100644
--- a/engines/testbed/graphics.cpp
+++ b/engines/testbed/graphics.cpp
@@ -650,9 +650,12 @@ TestExitStatus GFXtests::mouseMovements() {
g_system->updateScreen();
g_system->delayMillis(1000);
+ Common::Event event;
+
for (int i = 0; i <= 100; i++) {
g_system->delayMillis(20);
g_system->warpMouse(i, i);
+ g_system->getEventManager()->pollEvent(event);
g_system->updateScreen();
}