From 94fa998b7e3524ce101a977ed3516fac13461287 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 1 Nov 2021 16:06:51 +0000 Subject: Add extra cleanup code to debug builds. Also fix some memory leaks. --- src/egl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/egl.h') diff --git a/src/egl.h b/src/egl.h index a705538..a3f17a2 100644 --- a/src/egl.h +++ b/src/egl.h @@ -17,6 +17,7 @@ void egl_create_window( uint32_t width, uint32_t height); void egl_create_context(struct egl *egl, struct wl_display *wl_display); +void egl_destroy(struct egl *egl); void egl_log_error(const char *msg); void egl_make_current(struct egl *egl); void egl_swap_buffers(struct egl *egl); -- cgit v1.2.3