aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-08 11:00:56 -0400
committeremersion <contact@emersion.fr>2018-04-08 11:00:56 -0400
commitd2ebbd103cda11b36fa44aa801128b2e477d465b (patch)
tree7219ae49eceb828e832119a5f0293fbea6164765 /backend/drm
parentf4125220a58f508d54f5103d4b0580f1d047f6b9 (diff)
backend: remove wlr_backend_get_egl
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/backend.c6
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,
};