aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/renderer.h2
-rw-r--r--include/render/gbm_allocator.h2
2 files changed, 2 insertions, 2 deletions
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