Merge pull request #12049 from iwubcode/initialize_asset_load_info

VideoCommon: initialize load info variables in CustomAssetLibrary
This commit is contained in:
Admiral H. Curtiss 2023-07-16 23:32:13 +02:00 committed by GitHub
commit 9ebfcebdde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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