summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-23 12:02:07 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-23 12:06:22 +0200
commitb53d032fb89e5b70409dfef422181bb467722639 (patch)
treedd21a508f39764dbbf2ba61cd7185e7ee210fe9f
parent74be36e622efd2cea912a2ad444fd045a0e79d1e (diff)
Flush buffered input events on UWP
-rw-r--r--platform/uwp/os_uwp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp
index 1614bfdcc3..f37759c66f 100644
--- a/platform/uwp/os_uwp.cpp
+++ b/platform/uwp/os_uwp.cpp
@@ -557,6 +557,7 @@ uint64_t OS_UWP::get_ticks_usec() const {
void OS_UWP::process_events() {
joypad->process_controllers();
process_key_events();
+ input->flush_buffered_events();
}
void OS_UWP::process_key_events() {