src/context.c

changeset 15
362b7659dc76
parent 11
d83af80eb09b
child 16
c5dde81b6fb2
--- a/src/context.c	Wed Nov 08 21:53:43 2023 +0100
+++ b/src/context.c	Wed Nov 08 23:17:07 2023 +0100
@@ -28,6 +28,7 @@
 #include "ascension/context.h"
 #include "ascension/error.h"
 #include "ascension/utils.h"
+#include "ascension/shader.h"
 
 #include <cx/linked_list.h>
 
@@ -64,7 +65,7 @@
 }
 
 void asc_context_destroy(void) {
-    // destroy data
+    asc_shader_destroy_predefined();
     for (unsigned int i = 0 ; i < ASC_MAX_WINDOWS ; i++) {
         asc_window_destroy(&asc_context.windows[i]);
     }

mercurial