aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-01 21:34:34 +0200
committerSimon Ser <contact@emersion.fr>2021-09-01 21:34:34 +0200
commitee6c841d47e4ec50835ed5357fc812638b8c0454 (patch)
treee45ff9404bd01c8672b4274cce2325a855537d74
parentd9d8fc1ab9b77d5696f8ed79de0568bf25d31500 (diff)
render/allocator/gbm: fix create() docs for FD ownership
Fixes: d9d8fc1ab9b7 ("render/allocator: re-open GBM FD")
-rw-r--r--include/render/allocator/gbm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/allocator/gbm.h b/include/render/allocator/gbm.h
index eb112e7c..7e043faf 100644
--- a/include/render/allocator/gbm.h
+++ b/include/render/allocator/gbm.h
@@ -27,7 +27,7 @@ struct wlr_gbm_allocator {
/**
* Creates a new GBM allocator from a DRM FD.
*
- * Does not take ownership over the FD.
+ * Takes ownership over the FD.
*/
struct wlr_allocator *wlr_gbm_allocator_create(int drm_fd);