InputManager: Add missing call to UpdateHostMouseMode()
This commit is contained in:
parent
6e2223b517
commit
1f1a664908
|
@ -1358,9 +1358,12 @@ void InputManager::UpdateRelativeMouseMode()
|
||||||
if (s_relative_mouse_mode == has_relative_mode_bindings && s_hide_host_mouse_cursor == hide_mouse_cursor)
|
if (s_relative_mouse_mode == has_relative_mode_bindings && s_hide_host_mouse_cursor == hide_mouse_cursor)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifndef __ANDROID__
|
||||||
s_relative_mouse_mode = has_relative_mode_bindings;
|
s_relative_mouse_mode = has_relative_mode_bindings;
|
||||||
s_hide_host_mouse_cursor = hide_mouse_cursor;
|
s_hide_host_mouse_cursor = hide_mouse_cursor;
|
||||||
UpdateRelativeMouseMode();
|
#endif
|
||||||
|
|
||||||
|
UpdateHostMouseMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputManager::UpdateHostMouseMode()
|
void InputManager::UpdateHostMouseMode()
|
||||||
|
|
Loading…
Reference in New Issue