mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
render/vulkan: free pipeline layouts on destroy
(cherry picked from commit e20ae113f8)
This commit is contained in:
parent
a198549ef5
commit
cdc63d9983
1 changed files with 1 additions and 0 deletions
|
|
@ -1665,6 +1665,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
vkDestroySemaphore(dev->dev, renderer->timeline_semaphore, NULL);
|
vkDestroySemaphore(dev->dev, renderer->timeline_semaphore, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue