mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2025-01-18 10:27:00 +01:00
Document that liftoff_device_create takes ownership of the FD
This commit is contained in:
parent
fbc4cf8dba
commit
27462556db
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ struct liftoff_layer;
|
|||
/**
|
||||
* Initialize libliftoff for a DRM node.
|
||||
*
|
||||
* The node is expected to have DRM_CLIENT_CAP_ATOMIC enabled.
|
||||
* The node is expected to have DRM_CLIENT_CAP_ATOMIC enabled. libliftoff takes
|
||||
* ownership of the file descriptor.
|
||||
*/
|
||||
struct liftoff_device *liftoff_device_create(int drm_fd);
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue