diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-26 08:22:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-26 08:22:44 -0500 |
commit | 2f5ff450397714674aec9ffc09ba86989382fcfe (patch) | |
tree | e52174f40cec92e47546011d20300171424467a3 /backend/multi | |
parent | 48fa59c22e0b49bc347006738cc5dda9c6d13821 (diff) | |
parent | d16b2977f6b156e5b3a4ceb028cfbe70b9a350c1 (diff) |
Merge pull request #123 from ascent12/session-multi-gpu
Session Multi-GPU
Diffstat (limited to 'backend/multi')
-rw-r--r-- | backend/multi/backend.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c index 33b26a0a..5f745c40 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -2,7 +2,6 @@ #include <stdbool.h> #include <stdlib.h> #include <wlr/backend/interface.h> -#include <wlr/backend/udev.h> #include <wlr/backend/session.h> #include <wlr/util/log.h> #include "backend/multi.h" @@ -36,8 +35,7 @@ static void multi_backend_destroy(struct wlr_backend *_backend) { free(sub); } list_free(backend->backends); - wlr_session_finish(backend->session); - wlr_udev_destroy(backend->udev); + wlr_session_destroy(backend->session); free(backend); } @@ -59,8 +57,7 @@ struct wlr_backend_impl backend_impl = { .get_egl = multi_backend_get_egl }; -struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session, - struct wlr_udev *udev) { +struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session) { struct wlr_multi_backend *backend = calloc(1, sizeof(struct wlr_multi_backend)); if (!backend) { @@ -78,7 +75,6 @@ struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session, wlr_backend_init(&backend->backend, &backend_impl); backend->session = session; - backend->udev = udev; return &backend->backend; } |