From 018b82c01e642aae45dace95c5aae5d489e98853 Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 25 Apr 2018 00:42:19 +0100 Subject: render/egl: allow passing NULL to surface and image destructors --- include/wlr/render/egl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr/render') 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 -- cgit v1.2.3