@@ -491,7 +491,7 @@ unsigned Texture::GetSRGBFormat(unsigned format)
#endif
}
-void Texture::CheckTextureBudget(ShortStringHash type)
+void Texture::CheckTextureBudget(StringHash type)
{
ResourceCache* cache = GetSubsystem<ResourceCache>();
unsigned textureBudget = cache->GetMemoryBudget(type);
@@ -125,7 +125,7 @@ public:
protected:
/// Check whether texture memory budget has been exceeded. Free unused materials in that case to release the texture references.
- void CheckTextureBudget(ShortStringHash type);
+ void CheckTextureBudget(StringHash type);
/// Create texture.
virtual bool Create() { return true; }