diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-01-20 09:17:21 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-20 15:29:00 +0100 |
commit | 306cf11d8702c82be61e027a9bb76e27e89b34d3 (patch) | |
tree | 523321b716dc77be9e50e7f165243488321fcf4b /render/egl.c | |
parent | ee31be167b4e2c4682f3da6f22bddc23796f213d (diff) |
render/egl: remove unused gbm_device member
Diffstat (limited to 'render/egl.c')
-rw-r--r-- | render/egl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/render/egl.c b/render/egl.c index 4cc117c8..af6d6892 100644 --- a/render/egl.c +++ b/render/egl.c @@ -5,7 +5,6 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <gbm.h> #include <wlr/render/egl.h> #include <wlr/util/log.h> #include <wlr/util/region.h> @@ -488,10 +487,6 @@ void wlr_egl_destroy(struct wlr_egl *egl) { eglTerminate(egl->display); eglReleaseThread(); - if (egl->gbm_device) { - gbm_device_destroy(egl->gbm_device); - } - free(egl); } |