backend/drm: remove format arg from drm_plane_init_surface

This was always set to ARGB8888.
This commit is contained in:
Simon Ser 2021-05-31 19:35:25 +02:00
parent 9e9be83a58
commit e06ea4e84a
3 changed files with 7 additions and 8 deletions

View file

@ -57,7 +57,7 @@ bool drm_surface_render_black_frame(struct wlr_drm_surface *surf);
bool drm_plane_init_surface(struct wlr_drm_plane *plane,
struct wlr_drm_backend *drm, int32_t width, uint32_t height,
uint32_t format, bool with_modifiers);
bool with_modifiers);
void drm_plane_finish_surface(struct wlr_drm_plane *plane);
bool drm_plane_lock_surface(struct wlr_drm_plane *plane,
struct wlr_drm_backend *drm);