From e427e019c46bc1d04cbe75e00106e4c96785bf68 Mon Sep 17 00:00:00 2001
From: Alexander Orzechowski <alex@ozal.ski>
Date: Thu, 4 May 2023 18:17:55 -0400
Subject: wlr_drm_format: Don't take double pointer in wlr_drm_format_add

---
 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 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.
-- 
cgit v1.2.3