mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
render/vulkan: free pipeline layouts on destroy
This commit is contained in:
parent
00bc75439f
commit
e20ae113f8
@ -1114,6 +1114,7 @@ static void vulkan_destroy(struct wlr_renderer *wlr_renderer) {
|
|||||||
vkDestroyDescriptorSetLayout(dev->dev, pipeline_layout->ds, NULL);
|
vkDestroyDescriptorSetLayout(dev->dev, pipeline_layout->ds, NULL);
|
||||||
vkDestroySampler(dev->dev, pipeline_layout->sampler, NULL);
|
vkDestroySampler(dev->dev, pipeline_layout->sampler, NULL);
|
||||||
vkDestroySamplerYcbcrConversion(dev->dev, pipeline_layout->ycbcr.conversion, NULL);
|
vkDestroySamplerYcbcrConversion(dev->dev, pipeline_layout->ycbcr.conversion, NULL);
|
||||||
|
free(pipeline_layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (renderer->output_ds_lut3d_dummy_pool) {
|
if (renderer->output_ds_lut3d_dummy_pool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user