mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-05 17:15:49 +00:00
material asset
This commit is contained in:
parent
6dbbd5e2e5
commit
82b183df53
1 changed files with 1 additions and 1 deletions
|
@ -896,7 +896,7 @@ RasterMaterialAsset::LoadImpl(const CustomAssetLibrary::AssetID& asset_id)
|
|||
{
|
||||
auto potential_data = std::make_shared<RasterMaterialData>();
|
||||
const auto loaded_info = m_owning_library->LoadMaterial(asset_id, potential_data.get());
|
||||
if (loaded_info.m_bytes_loaded == 0)
|
||||
if (loaded_info.bytes_loaded == 0)
|
||||
return {};
|
||||
{
|
||||
std::lock_guard lk(m_data_lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue