summaryrefslogtreecommitdiff
path: root/src/egl.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-01 16:06:51 +0000
committerPhil Jones <philj56@gmail.com>2021-11-01 16:06:51 +0000
commit94fa998b7e3524ce101a977ed3516fac13461287 (patch)
tree0d4fae990021e876f7ad2deb7fbabc29a99804a4 /src/egl.h
parentf31976da251ca59ed7edb406379c12edf817711e (diff)
Add extra cleanup code to debug builds.
Also fix some memory leaks.
Diffstat (limited to 'src/egl.h')
-rw-r--r--src/egl.h1
1 files changed, 1 insertions, 0 deletions
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);