You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Rename Texture.get_data() to get_image()
This commit is contained in:
@@ -339,7 +339,7 @@ public:
|
||||
// } else {
|
||||
// Ref<Texture> texture = ResourceLoader::load(p_path);
|
||||
// ERR_FAIL_COND_V(texture.is_null(), Ref<Image>());
|
||||
// Ref<Image> image = texture->get_data();
|
||||
// Ref<Image> image = texture->get_image();
|
||||
// ERR_FAIL_COND_V(image.is_null(), Ref<Image>());
|
||||
// state.path_to_image_cache.insert(p_path, image);
|
||||
// return image;
|
||||
|
||||
Reference in New Issue
Block a user