Vulkan: Add missing call to ObjectCache::RecompileSharedShaders

This was causing issues when the stereo mode was changed at runtime.
This commit is contained in:
Stenzek 2016-10-23 22:00:25 +10:00
parent d67877d27e
commit 5250f3c6a4

View File

@ -1001,6 +1001,7 @@ void Renderer::CheckForConfigChanges()
RecompileShaders();
FramebufferManager::GetInstance()->RecompileShaders();
g_object_cache->ClearPipelineCache();
g_object_cache->RecompileSharedShaders();
}
// For vsync, we need to change the present mode, which means recreating the swap chain.