summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-26 11:06:33 +0100
committerGitHub <noreply@github.com>2019-01-26 11:06:33 +0100
commit62e3d50b17fcd9810cd1da5143c05345325035e1 (patch)
treefb63e4930d875d35e056c06a950727348f64e3b8
parent6e600706e9c0d2d08ea4cf57b7cda423de1a45fd (diff)
parent5fcb03f6b6831cee67b643f7d46002876d6de000 (diff)
Merge pull request #25335 from aqnuep/issue-24971
Changed ImageTexture image cache type to the correct one, fixes #24971
-rw-r--r--scene/resources/texture.h2
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();