Call `QVk_WaitAndShutdownAll()` on context shutdown.

Just calling `QVk_Shutdown()` is wrong. It doesn't wait for Vulkan to
finish, which can cause crashes. And it leaks some ressources which
makes the GPU driver unhappy.
This commit is contained in:
Yamagi 2021-04-23 11:13:02 +02:00
parent 3cf786e158
commit 1f4082c419
1 changed files with 1 additions and 1 deletions

View File

@ -1346,7 +1346,7 @@ static qboolean RE_Init( void )
static void RE_ShutdownContext( void ) static void RE_ShutdownContext( void )
{ {
// Shutdown Vulkan subsystem // Shutdown Vulkan subsystem
QVk_Shutdown(); QVk_WaitAndShutdownAll();
} }
/* /*