aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-04 18:26:45 -0400
committerSimon Ser <contact@emersion.fr>2023-05-11 18:24:40 +0200
commit099a147439b5b20d466316ae3dc8215f30ff3c1c (patch)
tree9ed87248aeb205ffb42b330449412890d0bc1fe1 /include/render
parente427e019c46bc1d04cbe75e00106e4c96785bf68 (diff)
wlr_drm_format: Change wlr_drm_format_create to init
Diffstat (limited to 'include/render')
-rw-r--r--include/render/drm_format_set.h2
1 files changed, 1 insertions, 1 deletions
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 <wlr/render/drm_format_set.h>
-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);