mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render: add missing arg to wlr_renderer_impl.get_buffer_caps
The types of buffers supported by the renderer might depend on the
renderer's instance. For instance, a renderer might only support
DMA-BUFs if the necessary EGL extensions are available.
Pass the wlr_renderer to get_buffer_caps so that the renderer can
perform such checks.
Fixes: 982498fab3 ("render: introduce renderer_get_render_buffer_caps")
This commit is contained in:
parent
b2f6db3533
commit
2806154900
4 changed files with 4 additions and 4 deletions
|
|
@ -193,7 +193,7 @@ const struct wlr_drm_format_set *wlr_renderer_get_render_formats(
|
|||
}
|
||||
|
||||
uint32_t renderer_get_render_buffer_caps(struct wlr_renderer *r) {
|
||||
return r->impl->get_render_buffer_caps();
|
||||
return r->impl->get_render_buffer_caps(r);
|
||||
}
|
||||
|
||||
bool wlr_renderer_read_pixels(struct wlr_renderer *r, uint32_t fmt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue