From 6ea0d178026f105bc4a27344bb6b867aac6109e0 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Thu, 9 Feb 2023 19:39:40 -0600 Subject: [PATCH] VideoCommon: when graphics settings change, trigger a reload of all custom shaders --- Source/Core/VideoCommon/VideoConfig.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 83dc5eb53e..02db6db9f7 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -353,6 +353,7 @@ void CheckForConfigChanges() { OSD::AddMessage("Video config changed, reloading shaders.", OSD::Duration::NORMAL); g_vertex_manager->InvalidatePipelineObject(); + g_vertex_manager->NotifyCustomShaderCacheOfHostChange(new_host_config); g_shader_cache->SetHostConfig(new_host_config); g_shader_cache->Reload(); g_framebuffer_manager->RecompileShaders();