You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -77,7 +77,7 @@ int GLManager_Windows::_find_or_create_display(GLWindow &win) {
|
||||
if (err != OK) {
|
||||
// not good
|
||||
// delete the _display?
|
||||
_displays.remove(new_display_id);
|
||||
_displays.remove_at(new_display_id);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ Error GLManager_Windows::window_create(DisplayServer::WindowID p_window_id, HWND
|
||||
|
||||
if (win.gldisplay_id == -1) {
|
||||
// release DC?
|
||||
_windows.remove(_windows.size() - 1);
|
||||
_windows.remove_at(_windows.size() - 1);
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user