render/gbm_allocator: document that DRM primary FDs work

This commit is contained in:
Simon Ser 2021-01-15 11:25:30 +01:00
parent f0303978e3
commit 9dd059376c
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -20,10 +20,10 @@ struct wlr_gbm_allocator {
};
/**
* Creates a new GBM allocator from a render FD.
* Creates a new GBM allocator from a DRM FD.
*
* Takes ownership over the FD.
*/
struct wlr_gbm_allocator *wlr_gbm_allocator_create(int render_fd);
struct wlr_gbm_allocator *wlr_gbm_allocator_create(int drm_fd);
#endif