diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-11-25 17:58:54 -0500 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-11-25 18:01:17 -0500 |
| commit | b85902ccb5af8d46aa032f4e0502372dcb4716c0 (patch) | |
| tree | 5f5c899aba3c9c21ba1a2a61affb111ec45ad4e5 /Source | |
| parent | 76d605639bfdeba30cddbc6483c4014979f43055 (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h index 17b16f9fb9..282fad7473 100644 --- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h +++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h @@ -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; |
