Rename remove() to remove_at() when removing by index
This commit is contained in:
parent
5efe80f308
commit
e078f970db
134 changed files with 323 additions and 323 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue