From b2f6db3533f2aff20986ee33ed6364d8bd4553bb Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 8 Jun 2021 09:16:18 +0200 Subject: render: drop wlr_ prefix from wlr_renderer_bind_buffer Make it clear this function is a private wlroots API and will stay that way. --- include/render/wlr_renderer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/render/wlr_renderer.h b/include/render/wlr_renderer.h index 9a16caed..c55b3ac8 100644 --- a/include/render/wlr_renderer.h +++ b/include/render/wlr_renderer.h @@ -12,12 +12,12 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd); * * All subsequent rendering operations will operate on the supplied buffer. * After rendering operations are done, the caller must unbind a buffer by - * calling wlr_renderer_bind_buffer with a NULL buffer. + * calling renderer_bind_buffer with a NULL buffer. */ -bool wlr_renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer); +bool renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer); /** * Get the supported render formats. Buffers allocated with a format from this - * list may be attached via wlr_renderer_bind_buffer. + * list may be attached via wlr_renderer_begin_with_buffer. */ const struct wlr_drm_format_set *wlr_renderer_get_render_formats( struct wlr_renderer *renderer); -- cgit v1.2.3