Replace font_driver_free(NULL) calls with font_driver_free_osd()

inside video drivers
This commit is contained in:
twinaphex 2016-10-20 00:39:33 +02:00
parent 86eed6706e
commit 275814e291
3 changed files with 5 additions and 5 deletions

View File

@ -487,7 +487,8 @@ static void d3d_deinitialize(d3d_video_t *d3d)
if (!d3d)
return;
font_driver_free(NULL);
font_driver_free_osd();
d3d_deinit_chain(d3d);
}

View File

@ -318,9 +318,7 @@ static void vita2d_gfx_free(void *data)
vita->texture = NULL;
}
font_driver_free(NULL);
RARCH_LOG("vita2d_gfx_free() done\n");
font_driver_free_osd();
}
static bool vita2d_gfx_set_shader(void *data,

View File

@ -846,7 +846,8 @@ static void vulkan_free(void *data)
/* No need to init this since textures are create on-demand. */
vulkan_deinit_menu(vk);
font_driver_free(NULL);
font_driver_free_osd();
vulkan_deinit_static_resources(vk);
vulkan_overlay_free(vk);