Merge pull request #12323 from lioncash/virt
CustomAssetLibrary: Add virtual destructor
This commit is contained in:
commit
c16e98a31f
|
@ -28,9 +28,11 @@ public:
|
||||||
struct LoadInfo
|
struct LoadInfo
|
||||||
{
|
{
|
||||||
std::size_t m_bytes_loaded = 0;
|
std::size_t m_bytes_loaded = 0;
|
||||||
CustomAssetLibrary::TimeType m_load_time = {};
|
TimeType m_load_time = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtual ~CustomAssetLibrary() = default;
|
||||||
|
|
||||||
// Loads a texture, if there are no levels, bytes loaded will be empty
|
// Loads a texture, if there are no levels, bytes loaded will be empty
|
||||||
virtual LoadInfo LoadTexture(const AssetID& asset_id, TextureData* data) = 0;
|
virtual LoadInfo LoadTexture(const AssetID& asset_id, TextureData* data) = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue