mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-19 07:51:03 +00:00
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:
parent
3cf786e158
commit
1f4082c419
1 changed files with 1 additions and 1 deletions
|
@ -1346,7 +1346,7 @@ static qboolean RE_Init( void )
|
|||
static void RE_ShutdownContext( void )
|
||||
{
|
||||
// Shutdown Vulkan subsystem
|
||||
QVk_Shutdown();
|
||||
QVk_WaitAndShutdownAll();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue