aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/renderer.c2
1 files changed, 1 insertions, 1 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;