aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/renderer.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-31 21:31:15 -0400
committerGitHub <noreply@github.com>2018-03-31 21:31:15 -0400
commitb60e31e5c034c87a5b3b01862d2ea535ef7de31c (patch)
tree335d648f02305c4c37359d2e7fcfcffbddb78534 /backend/drm/renderer.c
parent1b258ffceb489a8ef339773ef23b1ac65f8774bd (diff)
parent33a2eb4b7775d1a3ab2b767739c1f1f054683d22 (diff)
Merge pull request #794 from emersion/renderer-untie-backend
Untie wlr_backend from wlr_renderer
Diffstat (limited to 'backend/drm/renderer.c')
-rw-r--r--backend/drm/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index c1531ce3..f06de1ee 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -31,7 +31,7 @@ bool wlr_drm_renderer_init(struct wlr_drm_backend *drm,
goto error_gbm;
}
- renderer->wlr_rend = wlr_gles2_renderer_create(&drm->backend);
+ renderer->wlr_rend = wlr_gles2_renderer_create(&renderer->egl);
if (!renderer->wlr_rend) {
wlr_log(L_ERROR, "Failed to create WLR renderer");
goto error_egl;