mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VideoCommon: when graphics settings change, trigger a reload of all custom shaders
This commit is contained in:
parent
931a8aa413
commit
6ea0d17802
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue