aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-25 00:42:19 +0100
committeremersion <contact@emersion.fr>2018-04-25 08:28:48 +0100
commit018b82c01e642aae45dace95c5aae5d489e98853 (patch)
tree240bcac75264906411ef9f454dced46f71702649 /include/wlr/render
parenteaed6bd03b14e6f124723ce4da56011a80411886 (diff)
render/egl: allow passing NULL to surface and image destructors
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/egl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 57570ef9..4d837138 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -98,6 +98,6 @@ bool wlr_egl_is_current(struct wlr_egl *egl);
bool wlr_egl_swap_buffers(struct wlr_egl *egl, EGLSurface surface,
pixman_region32_t *damage);
-void wlr_egl_destroy_surface(struct wlr_egl *egl, EGLSurface surface);
+bool wlr_egl_destroy_surface(struct wlr_egl *egl, EGLSurface surface);
#endif