diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-07-16 23:32:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-16 23:32:13 +0200 |
| commit | 9ebfcebddee0840e3cd86b090f892393efdba303 (patch) | |
| tree | c49ca029d27394cbc24dee38857970448b696993 | |
| parent | 2814e4e283addfcacf9bde27d65e0a06593cf6f0 (diff) | |
| parent | 5740be15f9fe5c6a009f097b9089970f3f78682a (diff) | |
Merge pull request #12049 from iwubcode/initialize_asset_load_info
VideoCommon: initialize load info variables in CustomAssetLibrary
| -rw-r--r-- | Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h index 32e8020ae0..6eec276620 100644 --- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h +++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h @@ -34,8 +34,8 @@ public: struct LoadInfo { - std::size_t m_bytes_loaded; - CustomAssetLibrary::TimeType m_load_time; + std::size_t m_bytes_loaded = 0; + CustomAssetLibrary::TimeType m_load_time = {}; }; // Loads a texture, if there are no levels, bytes loaded will be empty |
