From e87d189d7831abe78d42b2e686c3f21d26e19acd Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sun, 3 Aug 2025 16:46:06 -0500 Subject: [PATCH] shader asset --- Source/Core/VideoCommon/Assets/ShaderAsset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp index b50c63766c..11710c0cfc 100644 --- a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp +++ b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp @@ -1003,7 +1003,7 @@ RasterShaderAsset::LoadImpl(const CustomAssetLibrary::AssetID& asset_id) { auto potential_data = std::make_shared(); 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);