Codechange: remove queue_wrap / last_position from mouse movement
No backend uses it anymore, so also no longer any need to support it.
This commit is contained in:
committed by
Patric Stout
parent
e83f244750
commit
0d840b4570
@@ -384,7 +384,7 @@ bool VideoDriver_SDL_Base::PollEvent()
|
||||
}
|
||||
}
|
||||
|
||||
if (_cursor.UpdateCursorPosition(x, y, false)) {
|
||||
if (_cursor.UpdateCursorPosition(x, y)) {
|
||||
SDL_WarpMouseInWindow(this->sdl_window, _cursor.pos.x, _cursor.pos.y);
|
||||
}
|
||||
HandleMouseEvents();
|
||||
|
||||
Reference in New Issue
Block a user