aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/egl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/egl.c b/render/egl.c
index b52682ea..74ac17fd 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -499,3 +499,7 @@ int wlr_egl_get_dmabuf_modifiers(struct wlr_egl *egl,
}
return num;
}
+
+void wlr_egl_destroy_surface(struct wlr_egl *egl, EGLSurface surface) {
+ eglDestroySurface(egl->display, surface);
+}