static void zarch_free(void *data) { zui_t *zui = (zui_t*)data; if (zui) video_coord_array_free(&zui->tmp_block.carr); font_driver_bind_block(NULL, NULL); }
bool menu_display_font_flush_block(void) { if (!menu_display_font_buf) return false; font_driver_flush(menu_display_font_buf); font_driver_bind_block(menu_display_font_buf, NULL); return true; }
static void mui_free(void *data) { mui_handle_t *mui = (mui_handle_t*)data; if (!mui) return; gfx_coord_array_free(&mui->list_block.carr); font_driver_bind_block(NULL, NULL); }
static void nk_menu_free(void *data) { nk_menu_handle_t *nk = (nk_menu_handle_t*)data; if (!nk) return; free(font); nk_free(&nk->ctx); nk_buffer_free(&device.cmds); nk_common_device_shutdown(&device); video_coord_array_free(&nk->list_block.carr); font_driver_bind_block(NULL, NULL); }
static void zrmenu_free(void *data) { zrmenu_handle_t *zr = (zrmenu_handle_t*)data; if (!zr) return; free(font.glyphs); zr_free(&zr->ctx); zr_buffer_free(&device.cmds); zr_common_device_shutdown(&device); gfx_coord_array_free(&zr->list_block.carr); font_driver_bind_block(NULL, NULL); }
void menu_display_font_bind_block(void *block) { font_driver_bind_block(menu_display_font_buf, block); }