diff options
author | Phil Jones <philj56@gmail.com> | 2021-11-01 16:06:51 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-11-01 16:06:51 +0000 |
commit | 94fa998b7e3524ce101a977ed3516fac13461287 (patch) | |
tree | 0d4fae990021e876f7ad2deb7fbabc29a99804a4 /src/gl.h | |
parent | f31976da251ca59ed7edb406379c12edf817711e (diff) |
Add extra cleanup code to debug builds.
Also fix some memory leaks.
Diffstat (limited to 'src/gl.h')
-rw-r--r-- | src/gl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |