mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-23 08:56:29 -05:00
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:
parent
c87c849ec6
commit
b2f6db3533
4 changed files with 10 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue