render/vulkan: don't free a descriptor set from an already destroyed lut3d dummy pool

master
Kirill Primak 7 months ago
parent 073c3e8837
commit f0b7fb72a8

@ -1119,10 +1119,6 @@ static void vulkan_destroy(struct wlr_renderer *wlr_renderer) {
free(pipeline_layout); 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); vkDestroyImageView(dev->dev, renderer->dummy3d_image_view, NULL);
vkDestroyImage(dev->dev, renderer->dummy3d_image, NULL); vkDestroyImage(dev->dev, renderer->dummy3d_image, NULL);
vkFreeMemory(dev->dev, renderer->dummy3d_mem, NULL); vkFreeMemory(dev->dev, renderer->dummy3d_mem, NULL);

Loading…
Cancel
Save