diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-14 14:37:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-14 14:37:43 -0500 |
commit | 46ac8e1243d3d32c656b09e641f8e9732035f635 (patch) | |
tree | 66bcfa4057175e46509f77537d22379075308165 /include/wlr/render/egl.h | |
parent | a9fb071d49b244b72846b384a9e2ef2d9b03a05f (diff) | |
parent | 75ef7860bbc3017bbe8e176138cac71da0127711 (diff) |
Merge pull request #468 from emersion/display-destroy
Use destroy listeners on wl_display
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r-- | include/wlr/render/egl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 9ab4d9ce..67a81f37 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -4,6 +4,7 @@ #include <EGL/egl.h> #include <EGL/eglext.h> #include <stdbool.h> +#include <wayland-server.h> struct wlr_egl { EGLDisplay display; @@ -27,7 +28,7 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, EGLint visual_id, void * Frees all related egl resources, makes the context not-current and * unbinds a bound wayland display. */ -void wlr_egl_free(struct wlr_egl *egl); +void wlr_egl_finish(struct wlr_egl *egl); /** * Binds the given display to the egl instance. |