diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-04-15 14:32:13 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-28 20:55:57 +0200 |
commit | c75aa71816826907805606a108626b4671120a7e (patch) | |
tree | 471aa3d45646e571555829a88bd506d0cfc09e2a /include | |
parent | 3a04fb4560cf60c34bd968fe711a45d42993e5a4 (diff) |
render/gbm_allocator: make wlr_gbm_allocator_create return a wlr_allocator
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/renderer.h | 2 | ||||
-rw-r--r-- | include/render/gbm_allocator.h | 2 |
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 |