wlr_drm_format: Don't take double pointer in wlr_drm_format_add

This commit is contained in:
Alexander Orzechowski 2023-05-04 18:17:55 -04:00
parent e6879616e7
commit e427e019c4
3 changed files with 5 additions and 7 deletions

View file

@ -5,7 +5,7 @@
struct wlr_drm_format *wlr_drm_format_create(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_ptr, 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);
/**
* Intersect modifiers for two DRM formats.