aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-04 18:17:55 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-05-11 03:51:01 -0400
commite427e019c46bc1d04cbe75e00106e4c96785bf68 (patch)
treea8b21e37ab38cface69276751b652a037d415431 /include/render
parente6879616e731e6bc2109fbe50610c8c606e8228a (diff)
wlr_drm_format: Don't take double pointer in wlr_drm_format_add
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 9d78b2b1..8614d0b9 100644
--- a/include/render/drm_format_set.h
+++ b/include/render/drm_format_set.h
@@ -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.