mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Vulkan: Add missing call to ObjectCache::RecompileSharedShaders
This was causing issues when the stereo mode was changed at runtime.
This commit is contained in:
@ -1001,6 +1001,7 @@ void Renderer::CheckForConfigChanges()
|
|||||||
RecompileShaders();
|
RecompileShaders();
|
||||||
FramebufferManager::GetInstance()->RecompileShaders();
|
FramebufferManager::GetInstance()->RecompileShaders();
|
||||||
g_object_cache->ClearPipelineCache();
|
g_object_cache->ClearPipelineCache();
|
||||||
|
g_object_cache->RecompileSharedShaders();
|
||||||
}
|
}
|
||||||
|
|
||||||
// For vsync, we need to change the present mode, which means recreating the swap chain.
|
// For vsync, we need to change the present mode, which means recreating the swap chain.
|
||||||
|
Reference in New Issue
Block a user