Skip to content

Commit

Permalink
[vk] zero out _vk.instance on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
nicebyte committed Aug 18, 2024
1 parent 1483edb commit 413a792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/ngf-vk/impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3852,6 +3852,7 @@ void ngf_shutdown(void) {
vkDestroyDebugUtilsMessengerEXT(_vk.instance, _vk.debug_messenger, NULL);
}
vkDestroyInstance(_vk.instance, NULL);
_vk.instance = VK_NULL_HANDLE;
}

const ngf_device_capabilities* ngf_get_device_capabilities(void) {
Expand Down

0 comments on commit 413a792

Please sign in to comment.