diff options
Diffstat (limited to 'Source/Core/VideoCommon/Assets/ShaderAsset.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/ShaderAsset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp index dbe4c5cb02..50a4a8c95d 100644 --- a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp +++ b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp @@ -439,7 +439,7 @@ CustomAssetLibrary::LoadInfo PixelShaderAsset::LoadImpl(const CustomAssetLibrary { auto potential_data = std::make_shared<PixelShaderData>(); const auto loaded_info = m_owning_library->LoadPixelShader(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); |
