aboutsummaryrefslogtreecommitdiff
path: root/backend
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 /backend
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 'backend')
-rw-r--r--backend/drm/renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index e1e35e63..d6da8606 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -109,7 +109,7 @@ bool drm_surface_make_current(struct wlr_drm_surface *surf,
return false;
}
- if (!wlr_renderer_bind_buffer(surf->renderer->wlr_rend, surf->back_buffer)) {
+ if (!renderer_bind_buffer(surf->renderer->wlr_rend, surf->back_buffer)) {
wlr_log(WLR_ERROR, "Failed to bind buffer to renderer");
return false;
}
@@ -120,7 +120,7 @@ bool drm_surface_make_current(struct wlr_drm_surface *surf,
void drm_surface_unset_current(struct wlr_drm_surface *surf) {
assert(surf->back_buffer != NULL);
- wlr_renderer_bind_buffer(surf->renderer->wlr_rend, NULL);
+ renderer_bind_buffer(surf->renderer->wlr_rend, NULL);
wlr_buffer_unlock(surf->back_buffer);
surf->back_buffer = NULL;