render: drop wlr_renderer_get_dmabuf_texture_formats()

wlr_renderer_get_texture_formats() with WLR_BUFFER_CAP_DMABUF is
the replacement.
This commit is contained in:
Simon Ser 2024-04-18 16:42:10 +02:00 committed by Kenny Levinsen
parent 85c1eda721
commit 0686666cf5
6 changed files with 6 additions and 16 deletions

View file

@ -234,7 +234,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wlr_session *session,
// to be able to texture from them
struct wlr_renderer *renderer = drm->mgpu_renderer.wlr_rend;
const struct wlr_drm_format_set *texture_formats =
wlr_renderer_get_dmabuf_texture_formats(renderer);
wlr_renderer_get_texture_formats(renderer, WLR_BUFFER_CAP_DMABUF);
if (texture_formats == NULL) {
wlr_log(WLR_ERROR, "Failed to query renderer texture formats");
goto error_mgpu_renderer;