mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -305,12 +305,12 @@ void EditorProfiler::_update_plot() {
|
||||
}
|
||||
|
||||
Ref<Image> img;
|
||||
img.instance();
|
||||
img.instantiate();
|
||||
img->create(w, h, false, Image::FORMAT_RGBA8, graph_image);
|
||||
|
||||
if (reset_texture) {
|
||||
if (graph_texture.is_null()) {
|
||||
graph_texture.instance();
|
||||
graph_texture.instantiate();
|
||||
}
|
||||
graph_texture->create_from_image(img);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user