aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-07 08:24:55 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-07 08:24:55 +0100
commit16b0ce3748f1b3ea788bbaf4caaeb342a8f58d6f (patch)
tree32f0b62f1b4c21d8f7c38bbcda9658e468a28113 /tests
parentb3b9e8c2b8068ce2566a9be2a813b2f04088f3ce (diff)
Use char array for text entered str, reset text fields on deinit
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/main.c b/tests/main.c
index 2359cda..ad6113c 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -240,6 +240,7 @@ int main(int argc, char **argv) {
mgl_vertex_buffer_deinit(&vertex_buffer2);
mgl_vertex_buffer_deinit(&vertex_buffer1);
mgl_shader_program_deinit(&shader_program);
+ mgl_font_unload(&cjk_font);
mgl_font_unload(&font);
mgl_texture_unload(&texture);
mgl_window_deinit(&window);