mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
render: rename wlr_renderer_get_dmabuf_formats
Rename wlr_renderer_get_dmabuf_formats to wlr_renderer_get_dmabuf_texture_formats. This makes it clear the formats are only suitable for creating wlr_textures.
This commit is contained in:
parent
c045253927
commit
49115e9d5d
7 changed files with 23 additions and 19 deletions
|
|
@ -389,7 +389,7 @@ static void linux_dmabuf_send_formats(struct wlr_linux_dmabuf_v1 *linux_dmabuf,
|
|||
struct wl_resource *resource, uint32_t version) {
|
||||
uint64_t modifier_invalid = DRM_FORMAT_MOD_INVALID;
|
||||
const struct wlr_drm_format_set *formats =
|
||||
wlr_renderer_get_dmabuf_formats(linux_dmabuf->renderer);
|
||||
wlr_renderer_get_dmabuf_texture_formats(linux_dmabuf->renderer);
|
||||
if (formats == NULL) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue