From 340700cb7085aff743f929845604ef95feb5820e Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 10 May 2023 16:00:22 -0400 Subject: wlr_drm_format: Change wlr_drm_format_dup to copy --- include/wlr/render/swapchain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr/render') 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]; -- cgit v1.2.3