diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-02-09 19:39:40 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-08-20 18:53:27 -0500 |
| commit | 6ea0d178026f105bc4a27344bb6b867aac6109e0 (patch) | |
| tree | 1acc72bec1ed987fd8fbeede85130a909322c668 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 931a8aa4139bddbc59a9cf94ca8e15f05000960c (diff) | |
VideoCommon: when graphics settings change, trigger a reload of all custom shaders
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |
