diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp index 3873c32d32..73703f089a 100644 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp @@ -15,11 +15,10 @@ #include "Core/System.h" #include "VideoCommon/AbstractGfx.h" -#include "VideoCommon/Assets/DirectFilesystemAssetLibrary.h" #include "VideoCommon/GraphicsModEditor/Controls/AssetDisplay.h" #include "VideoCommon/GraphicsModEditor/EditorEvents.h" #include "VideoCommon/GraphicsModEditor/EditorMain.h" -#include "VideoCommon/GraphicsModSystem/Runtime/CustomResourceManager.h" +#include "VideoCommon/Resources/CustomResourceManager.h" std::unique_ptr CustomPipelineAction::Create(std::shared_ptr library) @@ -55,7 +54,7 @@ CustomPipelineAction::CustomPipelineAction(std::shared_ptrmaterial = resource_manager.GetMaterialFromAsset(m_material_asset, m_library, - draw_started->draw_data_view); + *draw_started->material = resource_manager.GetMaterialFromAsset( + m_material_asset, *draw_started->draw_data_view.uid, m_library); } void CustomPipelineAction::DrawImGui()