You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -1326,7 +1326,7 @@ void TextServerFallback::font_remove_texture(RID p_font_rid, const Vector2i &p_s
|
||||
ERR_FAIL_COND(!_ensure_cache_for_size(fd, size));
|
||||
ERR_FAIL_INDEX(p_texture_index, fd->cache[size]->textures.size());
|
||||
|
||||
fd->cache[size]->textures.remove(p_texture_index);
|
||||
fd->cache[size]->textures.remove_at(p_texture_index);
|
||||
}
|
||||
|
||||
void TextServerFallback::font_set_texture_image(RID p_font_rid, const Vector2i &p_size, int p_texture_index, const Ref<Image> &p_image) {
|
||||
|
||||
Reference in New Issue
Block a user