summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-13 19:23:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-13 19:24:28 -0300
commita97551902e24ef1ac8fd709d77a5195b73c6c1ae (patch)
treebec77c842c2398ef77bc17d4cf66d882c8ad7582 /platform/windows
parentb191ea8f02dcd0bfefcd88032ec6b2bd39fa54fc (diff)
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/os_windows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 6256cb58e0..d88a545b5e 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -401,8 +401,8 @@ LRESULT OS_Windows::WndProc(HWND hWnd,UINT uMsg, WPARAM wParam, LPARAM lParam) {
}
input->set_mouse_pos(Point2(mm.x,mm.y));
- mm.speed_x=input->get_mouse_speed().x;
- mm.speed_y=input->get_mouse_speed().y;
+ mm.speed_x=input->get_last_mouse_speed().x;
+ mm.speed_y=input->get_last_mouse_speed().y;
if (old_invalid) {