From 099a147439b5b20d466316ae3dc8215f30ff3c1c Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 4 May 2023 18:26:45 -0400 Subject: wlr_drm_format: Change wlr_drm_format_create to init --- include/render/drm_format_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/render/drm_format_set.h b/include/render/drm_format_set.h index 8614d0b9..8734ea7a 100644 --- a/include/render/drm_format_set.h +++ b/include/render/drm_format_set.h @@ -3,7 +3,7 @@ #include -struct wlr_drm_format *wlr_drm_format_create(uint32_t format); +void wlr_drm_format_init(struct wlr_drm_format *fmt, uint32_t format); bool wlr_drm_format_has(const struct wlr_drm_format *fmt, uint64_t modifier); bool wlr_drm_format_add(struct wlr_drm_format *fmt, uint64_t modifier); struct wlr_drm_format *wlr_drm_format_dup(const struct wlr_drm_format *format); -- cgit v1.2.3