mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
vulkan-renderer: drop fb get from create_renderbuffers
This is not required and creates a refcount imbalance, causing a memory leak at drm-backend teardown. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
This commit is contained in:
parent
41823d237b
commit
b0c99998ef
1 changed files with 0 additions and 2 deletions
|
|
@ -665,8 +665,6 @@ create_renderbuffers(struct gbm_device *gbm, struct drm_output *output, unsigned
|
|||
return;
|
||||
}
|
||||
|
||||
drm_fb_get_from_dmabuf_attributes(dmabuf->attributes, device, true, false, NULL);
|
||||
|
||||
output->linux_dmabuf_memory[i] = dmabuf;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue