From b1d9e13d75ecab111dae12a328c5a7f8933277dc Mon Sep 17 00:00:00 2001 From: iwubcode Date: Tue, 12 Dec 2023 17:56:26 -0600 Subject: VideoCommon: prepare graphics mods for custom shader material data --- Source/Core/VideoCommon/VertexManagerBase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp') diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index ac4446abba..b2f7dc87dd 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -603,7 +603,8 @@ void VertexManagerBase::Flush() const std::string& texture_name = texture_names[i]; const u32 texture_unit = texture_units[i]; bool skip = false; - GraphicsModActionData::DrawStarted draw_started{texture_unit, &skip, &custom_pixel_shader}; + GraphicsModActionData::DrawStarted draw_started{texture_unit, &skip, &custom_pixel_shader, + &custom_pixel_shader_uniforms}; for (const auto& action : g_graphics_mod_manager->GetDrawStartedActions(texture_name)) { action->OnDrawStarted(&draw_started); -- cgit v1.2.3