static void mui_context_bg_destroy(mui_handle_t *mui) { if (!mui) return; menu_display_texture_unload((uintptr_t*)&mui->textures.bg.id); menu_display_texture_unload((uintptr_t*)&mui->textures.white); }
static void mui_context_destroy(void *data) { unsigned i; mui_handle_t *mui = (mui_handle_t*)data; if (!mui) return; for (i = 0; i < MUI_TEXTURE_LAST; i++) menu_display_texture_unload((uintptr_t*)&mui->textures.list[i].id); menu_display_free_main_font(); mui_context_bg_destroy(mui); }
static void zarch_context_bg_destroy(zui_t *zui) { menu_display_texture_unload((uintptr_t*)&zui->textures.bg.id); menu_display_texture_unload((uintptr_t*)&zui->textures.white); }