Browse Source

Merge pull request #25335 from aqnuep/issue-24971

Changed ImageTexture image cache type to the correct one, fixes #24971
Rémi Verschelde 6 years ago
parent
commit
62e3d50b17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/texture.h

+ 1 - 1
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();