mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
render/gbm_allocator: duplicate drm fd during creation process
This commit is contained in:
parent
d0c1f0c0b6
commit
2c90e0f521
3 changed files with 9 additions and 7 deletions
|
|
@ -26,7 +26,7 @@ struct wlr_gbm_allocator {
|
|||
/**
|
||||
* Creates a new GBM allocator from a DRM FD.
|
||||
*
|
||||
* Takes ownership over the FD.
|
||||
* Does not take ownership over the FD.
|
||||
*/
|
||||
struct wlr_allocator *wlr_gbm_allocator_create(int drm_fd);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue