mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix leak of HDR UBO buffer.
This commit is contained in:
parent
d6413f2a43
commit
f9eda02a74
@ -1159,7 +1159,8 @@ static void vulkan_free(void *data)
|
||||
vulkan_filter_chain_free((vulkan_filter_chain_t*)vk->filter_chain);
|
||||
|
||||
#ifdef VULKAN_HDR_SWAPCHAIN
|
||||
video_driver_unset_hdr_support();
|
||||
vulkan_destroy_buffer(vk->context->device, &vk->hdr.ubo);
|
||||
video_driver_unset_hdr_support();
|
||||
#endif /* VULKAN_HDR_SWAPCHAIN */
|
||||
|
||||
if (vk->ctx_driver && vk->ctx_driver->destroy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user