summaryrefslogtreecommitdiff
path: root/src/gl.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/gl.h
parentf31976da251ca59ed7edb406379c12edf817711e (diff)
Add extra cleanup code to debug builds.
Also fix some memory leaks.
Diffstat (limited to 'src/gl.h')
-rw-r--r--src/gl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gl.h b/src/gl.h
index 9f48bb8..d3da2b6 100644
--- a/src/gl.h
+++ b/src/gl.h
@@ -15,6 +15,7 @@ struct gl {
};
void gl_initialise(struct gl *gl, struct image *texture);
+void gl_destroy(struct gl *gl);
void gl_clear(struct gl *gl, struct color *color);
void gl_draw_texture(
struct gl *gl,