diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-05-10 16:00:22 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-11 18:24:43 +0200 |
commit | 340700cb7085aff743f929845604ef95feb5820e (patch) | |
tree | 609306998e1fca465f33fb956228d730770f2efc /include/wlr/render | |
parent | 099a147439b5b20d466316ae3dc8215f30ff3c1c (diff) |
wlr_drm_format: Change wlr_drm_format_dup to copy
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/swapchain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/swapchain.h b/include/wlr/render/swapchain.h index 38b1fb8b..8bb8afc9 100644 --- a/include/wlr/render/swapchain.h +++ b/include/wlr/render/swapchain.h @@ -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]; |