mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
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:
parent
76d605639b
commit
b85902ccb5
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user