aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-08 09:16:18 +0200
committerSimon Ser <contact@emersion.fr>2021-06-09 10:26:09 +0200
commitb2f6db3533f2aff20986ee33ed6364d8bd4553bb (patch)
tree80c742f363ac49903b3de611a2f992a52106f674 /include/render
parentc87c849ec6a166ea7472c5c87d02646dfc7151b4 (diff)
render: drop wlr_ prefix from wlr_renderer_bind_buffer
Make it clear this function is a private wlroots API and will stay that way.
Diffstat (limited to 'include/render')
-rw-r--r--include/render/wlr_renderer.h6
1 files changed, 3 insertions, 3 deletions
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);