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. --- backend/drm/renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend') 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; -- cgit v1.2.3