diff options
Diffstat (limited to 'render/egl.c')
| -rw-r--r-- | render/egl.c | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/render/egl.c b/render/egl.c index 81ce3b26..dfba8edd 100644 --- a/render/egl.c +++ b/render/egl.c @@ -583,6 +583,14 @@ void wlr_egl_destroy(struct wlr_egl *egl) {  	free(egl);  } +EGLDisplay wlr_egl_get_display(struct wlr_egl *egl) { +	return egl->display; +} + +EGLContext wlr_egl_get_context(struct wlr_egl *egl) { +	return egl->context; +} +  bool wlr_egl_destroy_image(struct wlr_egl *egl, EGLImage image) {  	if (!egl->exts.KHR_image_base) {  		return false;  | 
