summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Assets/CustomAssetLibrary.h')
-rw-r--r--Source/Core/VideoCommon/Assets/CustomAssetLibrary.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
index 17b16f9fb9..78cea9a3e9 100644
--- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
+++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
@@ -28,9 +28,11 @@ public:
struct LoadInfo
{
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
virtual LoadInfo LoadTexture(const AssetID& asset_id, TextureData* data) = 0;