mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-18 18:11:40 +00:00
Shutdown QVK in R_Shutdown() by calling R_ShutdownContext().
The QVK shutdown is necessary, otherwise we'll leak all(?) allocated Vulkan resources in case of a renderer restart by `vid_restart` and the like. The also fixes some crashes in RADV at renderer shutdown.
This commit is contained in:
parent
00f676c973
commit
6329a1dfcb
1 changed files with 1 additions and 0 deletions
|
@ -1348,6 +1348,7 @@ void R_Shutdown (void)
|
|||
|
||||
Mod_FreeAll();
|
||||
Vk_ShutdownImages();
|
||||
R_ShutdownContext();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue