diff options
author | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-01-26 09:12:38 +0100 |
---|---|---|
committer | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-01-26 09:12:38 +0100 |
commit | 5fcb03f6b6831cee67b643f7d46002876d6de000 (patch) | |
tree | fb63e4930d875d35e056c06a950727348f64e3b8 | |
parent | 6e600706e9c0d2d08ea4cf57b7cda423de1a45fd (diff) |
Changed ImageTexture image cache type to the correct one, fixes #24971
The original attempt to fix the issue was accidentally using the wrong
type for the image cache. This change fixes that.
-rw-r--r-- | scene/resources/texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h index a6b4c763e9..4b5b504510 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -111,7 +111,7 @@ private: Size2 size_override; float lossy_storage_quality; mutable Ref<BitMap> alpha_cache; - Ref<ImageTexture> image_cache; + Ref<Image> image_cache; protected: virtual void reload_from_file(); |