mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-05 00:56:13 +00:00
shader asset
This commit is contained in:
parent
145b8bb20f
commit
e87d189d78
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ RasterShaderAsset::LoadImpl(const CustomAssetLibrary::AssetID& asset_id)
|
|||
{
|
||||
auto potential_data = std::make_shared<RasterShaderData>();
|
||||
const auto loaded_info = m_owning_library->LoadShader(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