aboutsummaryrefslogtreecommitdiff
path: root/platform/haiku/haiku_direct_window.cpp
diff options
context:
space:
mode:
authorSergey Pusnei2017-03-29 11:29:38 -0400
committerRémi Verschelde2017-04-10 08:27:34 +0200
commit8589ca390373ae2e84d93b4a75640277e38e9780 (patch)
tree4c66a5b3927649c737b631c05ed88e866455e566 /platform/haiku/haiku_direct_window.cpp
parent1c480698ce0e881cbd28f1f0ddba95cee74ca834 (diff)
downloadgodot-8589ca390373ae2e84d93b4a75640277e38e9780.tar.gz
godot-8589ca390373ae2e84d93b4a75640277e38e9780.tar.zst
godot-8589ca390373ae2e84d93b4a75640277e38e9780.zip
Diffstat (limited to 'platform/haiku/haiku_direct_window.cpp')
-rw-r--r--platform/haiku/haiku_direct_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/haiku/haiku_direct_window.cpp b/platform/haiku/haiku_direct_window.cpp
index bb2495d99..fb6d9afd8 100644
--- a/platform/haiku/haiku_direct_window.cpp
+++ b/platform/haiku/haiku_direct_window.cpp
@@ -215,7 +215,7 @@ void HaikuDirectWindow::HandleMouseMoved(BMessage *message) {
motion_event.mouse_motion.button_mask = GetMouseButtonState(buttons);
motion_event.mouse_motion.x = pos.x;
motion_event.mouse_motion.y = pos.y;
- input->set_mouse_pos(pos);
+ input->set_mouse_position(pos);
motion_event.mouse_motion.global_x = pos.x;
motion_event.mouse_motion.global_y = pos.y;
motion_event.mouse_motion.speed_x = input->get_last_mouse_speed().x;