diff options
author | emersion <contact@emersion.fr> | 2017-12-08 00:59:37 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-08 00:59:37 +0100 |
commit | 18eb1eee3f97e169ff5fca67625452cbd81627c5 (patch) | |
tree | 831ef5d92c1e781ad2d1af9870a0076c6a74e27d /backend/drm/renderer.c | |
parent | 9d43adaafa6bbe63116b3feba796844169f91b25 (diff) |
Listen to display destroy in xwayland, rename wlr_egl_free
Diffstat (limited to 'backend/drm/renderer.c')
-rw-r--r-- | backend/drm/renderer.c | 4 |
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); } |