diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/renderer.c | 2 | ||||
-rw-r--r-- | backend/headless/backend.c | 2 | ||||
-rw-r--r-- | backend/wayland/backend.c | 2 | ||||
-rw-r--r-- | backend/x11/backend.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 208b8621..e1a0e427 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -225,7 +225,7 @@ bool drm_plane_init_surface(struct wlr_drm_plane *plane, } const struct wlr_drm_format_set *render_formats = - wlr_renderer_get_dmabuf_render_formats(drm->renderer.wlr_rend); + wlr_renderer_get_render_formats(drm->renderer.wlr_rend); if (render_formats == NULL) { wlr_log(WLR_ERROR, "Failed to get render formats"); return false; diff --git a/backend/headless/backend.c b/backend/headless/backend.c index ba5fde80..f0b9e0ce 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -131,7 +131,7 @@ static bool backend_init(struct wlr_headless_backend *backend, backend->renderer = renderer; const struct wlr_drm_format_set *formats = - wlr_renderer_get_dmabuf_render_formats(backend->renderer); + wlr_renderer_get_render_formats(backend->renderer); if (formats == NULL) { wlr_log(WLR_ERROR, "Failed to get available DMA-BUF formats from renderer"); return false; diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 825a5ad7..9b587618 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -459,7 +459,7 @@ struct wlr_backend *wlr_wl_backend_create(struct wl_display *display, } const struct wlr_drm_format_set *render_formats = - wlr_renderer_get_dmabuf_render_formats(wl->renderer); + wlr_renderer_get_render_formats(wl->renderer); if (render_formats == NULL) { wlr_log(WLR_ERROR, "Failed to get available DMA-BUF formats from renderer"); goto error_renderer; diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 4d825631..dc7c3689 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -593,7 +593,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display, } const struct wlr_drm_format_set *render_formats = - wlr_renderer_get_dmabuf_render_formats(x11->renderer); + wlr_renderer_get_render_formats(x11->renderer); if (render_formats == NULL) { wlr_log(WLR_ERROR, "Failed to get available DMA-BUF formats from renderer"); return false; |