You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -205,7 +205,7 @@ Error webp_load_image_from_buffer(Image *p_image, const uint8_t *p_buffer, int p
|
||||
|
||||
static Ref<Image> _webp_mem_loader_func(const uint8_t *p_png, int p_size) {
|
||||
Ref<Image> img;
|
||||
img.instance();
|
||||
img.instantiate();
|
||||
Error err = webp_load_image_from_buffer(img.ptr(), p_png, p_size);
|
||||
ERR_FAIL_COND_V(err, Ref<Image>());
|
||||
return img;
|
||||
|
||||
Reference in New Issue
Block a user