From f0b7fb72a87d0c090604c4755d734545360da25a Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Thu, 9 May 2024 19:07:54 +0300 Subject: [PATCH] render/vulkan: don't free a descriptor set from an already destroyed lut3d dummy pool --- render/vulkan/renderer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index a20a29cb..b0203490 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -1119,10 +1119,6 @@ static void vulkan_destroy(struct wlr_renderer *wlr_renderer) { free(pipeline_layout); } - if (renderer->output_ds_lut3d_dummy_pool) { - vulkan_free_ds(renderer, renderer->output_ds_lut3d_dummy_pool, - renderer->output_ds_lut3d_dummy); - } vkDestroyImageView(dev->dev, renderer->dummy3d_image_view, NULL); vkDestroyImage(dev->dev, renderer->dummy3d_image, NULL); vkFreeMemory(dev->dev, renderer->dummy3d_mem, NULL);