diff options
| author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-08-13 00:38:41 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-08-13 11:19:19 +0200 |
| commit | dc187324beded208b8aef77d2e5e0cc1650f4d78 (patch) | |
| tree | 1702509036e22af9b296d0b6b32dba4ac86b520c /platform/windows | |
| parent | 7c864d41c9aa8c6b1c585175fc997af8070f6b30 (diff) | |
| download | redot-engine-dc187324beded208b8aef77d2e5e0cc1650f4d78.tar.gz | |
Add input buffering framework
Input buffering is implicitly used by event accumulation, but this commit makes it more generic so it can be enabled for other uses.
For desktop OSs it's currently not feasible given main and UI threads are the same).
Diffstat (limited to 'platform/windows')
| -rw-r--r-- | platform/windows/display_server_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index b49f7e3321..b6489e7a95 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -1527,7 +1527,7 @@ void DisplayServerWindows::process_events() { if (!drop_events) { _process_key_events(); - Input::get_singleton()->flush_accumulated_events(); + Input::get_singleton()->flush_buffered_events(); } } |
