mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Fix CXX_BUILD
This commit is contained in:
parent
0f3081701b
commit
0b3b0a474b
@ -210,13 +210,14 @@ font_data_t *menu_display_font_main_init(menu_display_ctx_font_t *font)
|
|||||||
font_data_t *font_data = NULL;
|
font_data_t *font_data = NULL;
|
||||||
|
|
||||||
if (!font || !menu_disp)
|
if (!font || !menu_disp)
|
||||||
return false;
|
return NULL;
|
||||||
|
|
||||||
if (menu_disp->font_init_first((void**)&font_data,
|
if (!menu_disp->font_init_first((void**)&font_data,
|
||||||
video_driver_get_ptr(false),
|
video_driver_get_ptr(false),
|
||||||
font->path, font->size))
|
font->path, font->size))
|
||||||
return font_data;
|
return NULL;
|
||||||
return NULL;
|
|
||||||
|
return font_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_display_font_bind_block(font_data_t *font, void *block)
|
void menu_display_font_bind_block(font_data_t *font, void *block)
|
||||||
@ -242,6 +243,7 @@ void menu_display_deinit(void)
|
|||||||
{
|
{
|
||||||
if (menu_display_msg_queue)
|
if (menu_display_msg_queue)
|
||||||
msg_queue_free(menu_display_msg_queue);
|
msg_queue_free(menu_display_msg_queue);
|
||||||
|
|
||||||
video_coord_array_free(&menu_disp_ca);
|
video_coord_array_free(&menu_disp_ca);
|
||||||
menu_display_msg_queue = NULL;
|
menu_display_msg_queue = NULL;
|
||||||
menu_display_msg_force = false;
|
menu_display_msg_force = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user