CustomAssetLibrary: Add virtual destructor

This is used as a base pointer inside CustomPipelineAction, so this
should probably really have a virtual destructor to ensure derived
objects are torn down properly.
This commit is contained in:
Lioncash 2023-11-25 17:58:54 -05:00
parent 76d605639b
commit b85902ccb5

View File

@ -31,6 +31,8 @@ public:
CustomAssetLibrary::TimeType m_load_time = {};
};
virtual ~CustomAssetLibrary() = default;
// Loads a texture, if there are no levels, bytes loaded will be empty
virtual LoadInfo LoadTexture(const AssetID& asset_id, TextureData* data) = 0;