mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-21 06:19:16 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user