mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
Remove obsolete font_driver_has_render_msg
This commit is contained in:
parent
1b00796f64
commit
5fc1b0c88e
@ -757,7 +757,7 @@ static bool ctr_frame(void* data, const void* frame,
|
||||
|
||||
}
|
||||
|
||||
if (font_driver_has_render_msg() && msg)
|
||||
if (msg)
|
||||
font_driver_render_msg(NULL, msg, NULL);
|
||||
|
||||
// font_driver_render_msg(NULL, "TEST: 123 ABC àüî", NULL);
|
||||
|
@ -1503,7 +1503,7 @@ static bool d3d_frame(void *data, const void *frame,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (font_driver_has_render_msg() && msg)
|
||||
if (msg)
|
||||
{
|
||||
struct font_params font_parms = {0};
|
||||
font_driver_render_msg(NULL, msg, &font_parms);
|
||||
|
@ -1273,7 +1273,7 @@ static bool gl_frame(void *data, const void *frame,
|
||||
}
|
||||
#endif
|
||||
|
||||
if (font_driver_has_render_msg() && msg)
|
||||
if (msg)
|
||||
font_driver_render_msg(NULL, msg, NULL);
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
|
@ -278,11 +278,6 @@ static bool font_init_first(
|
||||
return false;
|
||||
}
|
||||
|
||||
bool font_driver_has_render_msg(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void font_driver_render_msg(void *font_data,
|
||||
const char *msg, const struct font_params *params)
|
||||
{
|
||||
|
@ -138,8 +138,6 @@ typedef struct
|
||||
int font_renderer_create_default(const void **driver,
|
||||
void **handle, const char *font_path, unsigned font_size);
|
||||
|
||||
bool font_driver_has_render_msg(void);
|
||||
|
||||
void font_driver_render_msg(void *font_data, const char *msg, const struct font_params *params);
|
||||
|
||||
void font_driver_bind_block(void *font_data, void *block);
|
||||
|
Loading…
Reference in New Issue
Block a user