diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-26 18:25:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-26 18:25:57 +0200 |
commit | 2ed4776bb1d49ab420dd4abded8a34f99d31e4d4 (patch) | |
tree | b33b74518204717f1c207c1cabd1b7f7271f72d0 /src/plugins | |
parent | 2394584d9e2916d8a5bdd95ff9f01eccfde1da44 (diff) |
Matrix: process more events per frame
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::function<void()>> 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; } |