wlr_drm_format: Change wlr_drm_format_create to init

This commit is contained in:
Alexander Orzechowski 2023-05-04 18:26:45 -04:00 committed by Simon Ser
parent e427e019c4
commit 099a147439
2 changed files with 6 additions and 12 deletions

View file

@ -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);