From 2c90e0f521b2bb57d00e5a374b0eff99f3a2d744 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 29 Apr 2021 12:01:28 -0400 Subject: render/gbm_allocator: duplicate drm fd during creation process --- include/render/gbm_allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3