You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Add static methods for creating Image and ImageTexture
This commit is contained in:
@@ -312,7 +312,7 @@ void EditorProfiler::_update_plot() {
|
||||
if (graph_texture.is_null()) {
|
||||
graph_texture.instantiate();
|
||||
}
|
||||
graph_texture->create_from_image(img);
|
||||
graph_texture->set_image(img);
|
||||
}
|
||||
|
||||
graph_texture->update(img);
|
||||
|
||||
Reference in New Issue
Block a user