mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
render/vulkan: don't free a descriptor set from an already destroyed lut3d dummy pool
This commit is contained in:
parent
073c3e8837
commit
f0b7fb72a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user