VideoCommon: when graphics settings change, trigger a reload of all custom shaders
This commit is contained in:
parent
931a8aa413
commit
6ea0d17802
|
@ -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…
Reference in New Issue