mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 11:09:56 -04:00
Release Linux NGX before destroying the Vulkan device
This commit is contained in:
committed by
chrg6
parent
4cb1a56e6c
commit
033bf85625
@@ -465,6 +465,7 @@ static long g_errors_total; // outlives the device so the probe can print it
|
||||
static void destroy_all(void) {
|
||||
gfx_window_release_vk();
|
||||
if (g_vk.device) vkDeviceWaitIdle(g_vk.device);
|
||||
if (g_vk.device) vk_dlaa_release(); // the DLSS features and NGX: the allocator and the device still live
|
||||
if (g_vk.device) vk_astc_release();
|
||||
if (g_vk.device) vk_crumbs_release();
|
||||
if (g_vk.timeline) vkDestroySemaphore(g_vk.device, g_vk.timeline, NULL);
|
||||
|
||||
Reference in New Issue
Block a user