mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
Fixed accumulated input.
This commit is contained in:
parent
32962a9b83
commit
06dadd50d8
@ -303,7 +303,7 @@ void Input::set_main_loop(Application *p_main_loop) {
|
||||
}
|
||||
|
||||
void Input::iteration(real_t p_step) {
|
||||
if (is_using_input_buffering()) {
|
||||
if (use_input_buffering || use_accumulated_input) {
|
||||
flush_buffered_events();
|
||||
}
|
||||
}
|
||||
@ -312,7 +312,7 @@ Input::Input() {
|
||||
singleton = this;
|
||||
|
||||
use_input_buffering = false;
|
||||
use_accumulated_input = false;
|
||||
use_accumulated_input = true;
|
||||
mouse_button_mask = 0;
|
||||
main_loop = NULL;
|
||||
default_shape = CURSOR_ARROW;
|
||||
|
Loading…
Reference in New Issue
Block a user