Document that liftoff_device_create takes ownership of the FD

This commit is contained in:
Simon Ser 2021-02-23 18:10:47 +01:00
parent fbc4cf8dba
commit 27462556db

View file

@ -14,7 +14,8 @@ struct liftoff_layer;
/** /**
* Initialize libliftoff for a DRM node. * 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); struct liftoff_device *liftoff_device_create(int drm_fd);
/** /**