diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-08 11:21:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-08 11:21:21 -0400 |
commit | bef5c1fd56a386745e76346ed2d9df5ba3baa40c (patch) | |
tree | 6df49a5ce9dc6c66a784e68ea1c3232035570437 /backend/drm | |
parent | 5f48c7fddd6a28b529eb02ca156db577b76edfb6 (diff) | |
parent | d2ebbd103cda11b36fa44aa801128b2e477d465b (diff) |
Merge pull request #850 from emersion/remove-backend-egl
backend: remove wlr_backend_get_egl
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/backend.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 43a8d017..66cb89d3 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -48,11 +48,6 @@ static void wlr_drm_backend_destroy(struct wlr_backend *backend) { free(drm); } -static struct wlr_egl *wlr_drm_backend_get_egl(struct wlr_backend *backend) { - struct wlr_drm_backend *drm = (struct wlr_drm_backend *)backend; - return &drm->renderer.egl; -} - static struct wlr_renderer *wlr_drm_backend_get_renderer( struct wlr_backend *backend) { struct wlr_drm_backend *drm = (struct wlr_drm_backend *)backend; @@ -62,7 +57,6 @@ static struct wlr_renderer *wlr_drm_backend_get_renderer( static struct wlr_backend_impl backend_impl = { .start = wlr_drm_backend_start, .destroy = wlr_drm_backend_destroy, - .get_egl = wlr_drm_backend_get_egl, .get_renderer = wlr_drm_backend_get_renderer, }; |