Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -116,7 +116,7 @@ bool VideoStreamPlaybackWebm::open_file(const String &p_file) {
|
||||
|
||||
frame_data.resize((webm->getWidth() * webm->getHeight()) << 2);
|
||||
Ref<Image> img;
|
||||
img.instance();
|
||||
img.instantiate();
|
||||
img->create(webm->getWidth(), webm->getHeight(), false, Image::FORMAT_RGBA8);
|
||||
texture->create_from_image(img);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user