mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
backend/drm: fix missing wlr_drm_format.cap
This caused issues with wlr_drm_format_dup.
This commit is contained in:
parent
eb5886ddbe
commit
06ab41a160
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ static bool init_drm_surface(struct wlr_drm_surface *surf,
|
|||
}
|
||||
format_linear->format = drm_format->format;
|
||||
format_linear->len = 1;
|
||||
format_linear->cap = 1;
|
||||
format_linear->modifiers[0] = DRM_FORMAT_MOD_LINEAR;
|
||||
drm_format = format_linear;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue