From 2ed4776bb1d49ab420dd4abded8a34f99d31e4d4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 26 Jul 2021 18:25:57 +0200 Subject: Matrix: process more events per frame --- src/plugins/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 2689d14..a07fc9b 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -4415,7 +4415,7 @@ namespace QuickMedia { sf::Clock timer; std::optional> task; int i = 0; - while((task = ui_thread_tasks.pop_if_available()) != std::nullopt && i < 10) { + while((task = ui_thread_tasks.pop_if_available()) != std::nullopt && i < 25) { task.value()(); ++i; } -- cgit v1.2.3