aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-04-29 12:01:28 -0400
committerSimon Ser <contact@emersion.fr>2021-05-05 10:40:21 +0200
commit2c90e0f521b2bb57d00e5a374b0eff99f3a2d744 (patch)
treea70a938e0431285f040b21bcf7e987dedbccb7ca /include/render
parentd0c1f0c0b6370a0462fcb30d041e37f22fe33076 (diff)
render/gbm_allocator: duplicate drm fd during creation process
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gbm_allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/gbm_allocator.h b/include/render/gbm_allocator.h
index b4f40039..df6b5e39 100644
--- a/include/render/gbm_allocator.h
+++ b/include/render/gbm_allocator.h
@@ -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);