You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -286,7 +286,7 @@ void DisplayServerX11::_flush_mouse_motion() {
|
||||
XIDeviceEvent *event_data = (XIDeviceEvent *)event.xcookie.data;
|
||||
if (event_data->evtype == XI_RawMotion) {
|
||||
XFreeEventData(x11_display, &event.xcookie);
|
||||
polled_events.remove(event_index--);
|
||||
polled_events.remove_at(event_index--);
|
||||
continue;
|
||||
}
|
||||
XFreeEventData(x11_display, &event.xcookie);
|
||||
|
||||
Reference in New Issue
Block a user