aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/renderer.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-14 23:59:04 +0100
committeremersion <contact@emersion.fr>2017-12-14 23:59:04 +0100
commit6b42bfad18f7bcb08ef031c699159d40ff6ac2a0 (patch)
treec8c24d5cf48c8a7487499d37da92e1bf7da419b9 /backend/drm/renderer.c
parentb884025558e750268a06818dc63bc46716c75843 (diff)
parent23fb663ea4eaff436d9bfab7f74cdd298fac44c5 (diff)
Merge branch 'master' into xwm-selection
Diffstat (limited to 'backend/drm/renderer.c')
-rw-r--r--backend/drm/renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 87064914..8a8d7d1f 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -39,7 +39,7 @@ bool wlr_drm_renderer_init(struct wlr_drm_backend *drm,
return true;
error_egl:
- wlr_egl_free(&renderer->egl);
+ wlr_egl_finish(&renderer->egl);
error_gbm:
gbm_device_destroy(renderer->gbm);
return false;
@@ -51,7 +51,7 @@ void wlr_drm_renderer_finish(struct wlr_drm_renderer *renderer) {
}
wlr_renderer_destroy(renderer->wlr_rend);
- wlr_egl_free(&renderer->egl);
+ wlr_egl_finish(&renderer->egl);
gbm_device_destroy(renderer->gbm);
}