wlr_drm_format: Change wlr_drm_format_dup to copy

This commit is contained in:
Alexander Orzechowski 2023-05-10 16:00:22 -04:00 committed by Simon Ser
parent 099a147439
commit 340700cb70
6 changed files with 31 additions and 24 deletions

View file

@ -19,7 +19,7 @@ struct wlr_swapchain {
struct wlr_allocator *allocator; // NULL if destroyed
int width, height;
struct wlr_drm_format *format;
struct wlr_drm_format format;
struct wlr_swapchain_slot slots[WLR_SWAPCHAIN_CAP];