From c75aa71816826907805606a108626b4671120a7e Mon Sep 17 00:00:00 2001
From: Simon Zeni <simon@bl4ckb0ne.ca>
Date: Thu, 15 Apr 2021 14:32:13 -0400
Subject: render/gbm_allocator: make wlr_gbm_allocator_create return a
 wlr_allocator

---
 include/backend/drm/renderer.h | 2 +-
 include/render/gbm_allocator.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'include')

diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index 2abd9dca..089c7923 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -16,7 +16,7 @@ struct wlr_drm_renderer {
 	struct gbm_device *gbm;
 
 	struct wlr_renderer *wlr_rend;
-	struct wlr_gbm_allocator *allocator;
+	struct wlr_allocator *allocator;
 };
 
 struct wlr_drm_surface {
diff --git a/include/render/gbm_allocator.h b/include/render/gbm_allocator.h
index d8121328..b4f40039 100644
--- a/include/render/gbm_allocator.h
+++ b/include/render/gbm_allocator.h
@@ -28,6 +28,6 @@ struct wlr_gbm_allocator {
  *
  * Takes ownership over the FD.
  */
-struct wlr_gbm_allocator *wlr_gbm_allocator_create(int drm_fd);
+struct wlr_allocator *wlr_gbm_allocator_create(int drm_fd);
 
 #endif
-- 
cgit v1.2.3