From 90d08f8f1c40e2a302d62052435ff2abdb08a854 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 4 May 2023 19:24:44 -0400 Subject: wlr_drm_format: Rework wlr_drm_format_intersect Now it takes a reference to a destination format --- include/backend/drm/renderer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/backend/drm') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 5851d228..07fcf28a 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -50,8 +50,8 @@ struct wlr_drm_fb *drm_fb_lock(struct wlr_drm_fb *fb); struct wlr_buffer *drm_surface_blit(struct wlr_drm_surface *surf, struct wlr_buffer *buffer); -struct wlr_drm_format *drm_plane_pick_render_format( - struct wlr_drm_plane *plane, struct wlr_drm_renderer *renderer); +bool drm_plane_pick_render_format(struct wlr_drm_plane *plane, + struct wlr_drm_format *fmt, struct wlr_drm_renderer *renderer); void drm_plane_finish_surface(struct wlr_drm_plane *plane); #endif -- cgit v1.2.3