示例#1
0
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);
}
示例#2
0
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);
}
示例#3
0
文件: zarch.c 项目: bronnel/RetroArch
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);
}