aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-10-01 16:47:05 +1300
committerScott Anderson <ascent12@hotmail.com>2017-10-01 16:47:05 +1300
commitfa3d0ed9295d18405ab65f63f329d3def19509a3 (patch)
tree0d2f07114044161062ded9fe457089c2f5853893 /backend/drm
parenteaef028976d32e382c4ebcfbb8605a6f40cd22b8 (diff)
Change wlr_session to open every GPU
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 442e5d0e..2d06e5e4 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -42,8 +42,8 @@ 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;
+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;
}