Rename Texture.get_data() to get_image()
This commit is contained in:
parent
f8442b97bf
commit
fd30c36985
31 changed files with 99 additions and 98 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue