Fix termination errors
Cleanup for objects destruction and process termination. This is still work in progress, I don't like the way it's handled right now.
This commit is contained in:
1 parent
1b5cc7a79c
commit
5ad0ac7fed
10 files changed
+38
-11
No files matched your search
@@ -443,3 +443,9 @@ rse_err_t descriptor_attach_buffer(struct graphics_context_t* context, struct de
|
||||
|
||||
return RSE_ERROR_NO_ERROR;
|
||||
}
|
||||
|
||||
void destroy_descriptors(struct graphics_context_t* context)
|
||||
{
|
||||
vkDestroyDescriptorSetLayout(context->device, context->descriptor_sets->descriptor_sets_layout, NULL);
|
||||
vkDestroyDescriptorPool(context->device, context->descriptor_sets->descriptor_pool, NULL);
|
||||
}
|
||||
Reference in new issue
Block a user