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/gl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gl.h') 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, -- cgit v1.2.3