From 45d11c709c1ed554e8830465491dd51c1f8b93b8 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 18 Jan 2025 18:59:55 -0600 Subject: [PATCH] video config --- Source/Core/VideoCommon/VideoConfig.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 1603383fdcfe..01ec24adaf04 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -24,6 +24,7 @@ #include "VideoCommon/Fifo.h" #include "VideoCommon/FramebufferManager.h" #include "VideoCommon/FreeLookCamera.h" +#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModBackend.h" #include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.h" #include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/PixelShaderManager.h" @@ -378,7 +379,7 @@ void CheckForConfigChanges() OSD::AddMessage("Video config changed, reloading shaders.", OSD::Duration::NORMAL); g_gfx->WaitForGPUIdle(); g_vertex_manager->InvalidatePipelineObject(); - g_vertex_manager->NotifyCustomShaderCacheOfHostChange(new_host_config); + system.GetGraphicsModManager().GetBackend().SetHostConfig(new_host_config); g_shader_cache->SetHostConfig(new_host_config); g_shader_cache->Reload(); g_framebuffer_manager->RecompileShaders();