Rename instance()->instantiate() when it's a verb

This commit is contained in:
Lightning_A
2021-06-19 20:49:18 -06:00
parent 60dcc4f39c
commit e28fd07b2b
371 changed files with 1318 additions and 1318 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ DynamicFontDataFallback::Character DynamicFontDataFallback::bitmap_to_character(
Ref<Image> img = memnew(Image(tex.texture_size, tex.texture_size, 0, require_format, tex.imgdata));
if (tex.texture.is_null()) {
tex.texture.instance();
tex.texture.instantiate();
tex.texture->create_from_image(img);
} else {
tex.texture->update(img); //update