mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
wlr_drm_format: Don't take double pointer in wlr_drm_format_add
This commit is contained in:
parent
e6879616e7
commit
e427e019c4
3 changed files with 5 additions and 7 deletions
|
|
@ -38,7 +38,7 @@ static struct wlr_swapchain *create_swapchain(struct wlr_output *output,
|
|||
}
|
||||
|
||||
format->len = 0;
|
||||
wlr_drm_format_add(&format, DRM_FORMAT_MOD_INVALID);
|
||||
wlr_drm_format_add(format, DRM_FORMAT_MOD_INVALID);
|
||||
}
|
||||
|
||||
struct wlr_swapchain *swapchain = wlr_swapchain_create(allocator, width, height, format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue