src/context.c

changeset 44
b3da4096c607
parent 37
8a8cc6725b48
child 46
d3285aed65b3
equal deleted inserted replaced
43:5a8c31904e44 44:b3da4096c607
61 asc_set_flag(&asc_context.flags, ASC_FLAG_INITILIZED); 61 asc_set_flag(&asc_context.flags, ASC_FLAG_INITILIZED);
62 asc_dprintf("Ascension context initialized."); 62 asc_dprintf("Ascension context initialized.");
63 } 63 }
64 64
65 void asc_context_destroy(void) { 65 void asc_context_destroy(void) {
66 asc_shader_destroy_predefined();
67 for (unsigned int i = 0 ; i < ASC_MAX_WINDOWS ; i++) { 66 for (unsigned int i = 0 ; i < ASC_MAX_WINDOWS ; i++) {
68 asc_window_destroy(&asc_context.windows[i]); 67 asc_window_destroy(&asc_context.windows[i]);
69 } 68 }
70 asc_font_cache_clear(); 69 asc_font_cache_clear();
71 70

mercurial