Explorar o código

Merge pull request #25335 from aqnuep/issue-24971

Changed ImageTexture image cache type to the correct one, fixes #24971
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
62e3d50b17
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();