mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 18:40:45 +00:00
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);
|
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…
x
Reference in New Issue
Block a user