render: drop wlr_ prefix from wlr_renderer_bind_buffer

Make it clear this function is a private wlroots API and will stay
that way.
This commit is contained in:
Simon Ser 2021-06-08 09:16:18 +02:00
parent c87c849ec6
commit b2f6db3533
4 changed files with 10 additions and 11 deletions

View file

@ -533,7 +533,7 @@ static bool output_attach_back_buffer(struct wlr_output *output,
return false;
}
if (!wlr_renderer_bind_buffer(renderer, buffer)) {
if (!renderer_bind_buffer(renderer, buffer)) {
wlr_buffer_unlock(buffer);
return false;
}
@ -550,7 +550,7 @@ static void output_clear_back_buffer(struct wlr_output *output) {
struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend);
assert(renderer != NULL);
wlr_renderer_bind_buffer(renderer, NULL);
renderer_bind_buffer(renderer, NULL);
wlr_buffer_unlock(output->back_buffer);
output->back_buffer = NULL;