mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 02:44:00 +00:00
Replace font_driver_free(NULL) calls with font_driver_free_osd()
inside video drivers
This commit is contained in:
parent
86eed6706e
commit
275814e291
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user