mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-11 06:59:07 +01: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:
parent
d67877d27e
commit
5250f3c6a4
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user