mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
backend/drm: remove wlr_drm_renderer.backend
This is unused.
This commit is contained in:
parent
f935ff0ef6
commit
67c77fdbdc
2 changed files with 0 additions and 4 deletions
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
bool init_drm_renderer(struct wlr_drm_backend *drm,
|
bool init_drm_renderer(struct wlr_drm_backend *drm,
|
||||||
struct wlr_drm_renderer *renderer) {
|
struct wlr_drm_renderer *renderer) {
|
||||||
renderer->backend = drm;
|
|
||||||
|
|
||||||
renderer->wlr_rend = renderer_autocreate_with_drm_fd(drm->fd);
|
renderer->wlr_rend = renderer_autocreate_with_drm_fd(drm->fd);
|
||||||
if (!renderer->wlr_rend) {
|
if (!renderer->wlr_rend) {
|
||||||
wlr_log(WLR_ERROR, "Failed to create renderer");
|
wlr_log(WLR_ERROR, "Failed to create renderer");
|
||||||
|
|
|
@ -13,8 +13,6 @@ struct wlr_drm_plane;
|
||||||
struct wlr_buffer;
|
struct wlr_buffer;
|
||||||
|
|
||||||
struct wlr_drm_renderer {
|
struct wlr_drm_renderer {
|
||||||
struct wlr_drm_backend *backend;
|
|
||||||
|
|
||||||
struct wlr_renderer *wlr_rend;
|
struct wlr_renderer *wlr_rend;
|
||||||
struct wlr_allocator *allocator;
|
struct wlr_allocator *allocator;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue