mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +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);
|
OSD::AddMessage("Video config changed, reloading shaders.", OSD::Duration::NORMAL);
|
||||||
g_vertex_manager->InvalidatePipelineObject();
|
g_vertex_manager->InvalidatePipelineObject();
|
||||||
|
g_vertex_manager->NotifyCustomShaderCacheOfHostChange(new_host_config);
|
||||||
g_shader_cache->SetHostConfig(new_host_config);
|
g_shader_cache->SetHostConfig(new_host_config);
|
||||||
g_shader_cache->Reload();
|
g_shader_cache->Reload();
|
||||||
g_framebuffer_manager->RecompileShaders();
|
g_framebuffer_manager->RecompileShaders();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue