Vulkan: Improve post-shutdown cleanup and minor improvements (#1401)

This commit is contained in:
goeiecool9999 2025-01-23 21:20:03 +01:00 committed by GitHub
parent 4f9eea07e0
commit e834515f43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 190 additions and 118 deletions

View file

@ -257,6 +257,7 @@ void LatteThread_Exit()
LatteSHRC_UnloadAll();
// close disk cache
LatteShaderCache_Close();
RendererOutputShader::ShutdownStatic();
// destroy renderer but make sure that g_renderer remains valid until the destructor has finished
if (g_renderer)
{