diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-28 12:32:17 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-28 13:00:46 +0100 |
commit | fd30c36985c6a5de09daf897800c36acb8c2c49a (patch) | |
tree | 31119051e0aa93211ea6cb81e6192a2e4afd41ea /scene/resources/default_theme/default_theme.cpp | |
parent | f8442b97bf7f2b445b0aca9c02629277c11064d6 (diff) |
Rename Texture.get_data() to get_image()
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 854001f397..85d097aa19 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -114,7 +114,7 @@ static Ref<Texture2D> flip_icon(Ref<Texture2D> p_texture, bool p_flip_y = false, } Ref<ImageTexture> texture(memnew(ImageTexture)); - Ref<Image> img = p_texture->get_data(); + Ref<Image> img = p_texture->get_image(); img = img->duplicate(); if (p_flip_y) { |