mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(XMB/Lakka) Prevent variable shadowing
This commit is contained in:
parent
5089473355
commit
f8a73398c4
@ -661,7 +661,7 @@ static GLuint lakka_png_texture_load(const char* file_name)
|
||||
|
||||
static bool lakka_font_init_first(const gl_font_renderer_t **font_driver,
|
||||
void **font_handle, void *video_data, const char *font_path,
|
||||
float font_size)
|
||||
float lakka_font_size)
|
||||
{
|
||||
if (g_settings.video.threaded
|
||||
&& !g_extern.system.hw_render_callback.context_type)
|
||||
@ -672,7 +672,7 @@ static bool lakka_font_init_first(const gl_font_renderer_t **font_driver,
|
||||
thr->cmd_data.font_init.font_handle = font_handle;
|
||||
thr->cmd_data.font_init.video_data = video_data;
|
||||
thr->cmd_data.font_init.font_path = font_path;
|
||||
thr->cmd_data.font_init.font_size = font_size;
|
||||
thr->cmd_data.font_init.font_size = lakka_font_size;
|
||||
thr->send_cmd_func(thr, CMD_FONT_INIT);
|
||||
thr->wait_reply_func(thr, CMD_FONT_INIT);
|
||||
|
||||
|
@ -873,7 +873,7 @@ static GLuint xmb_png_texture_load(const char* file_name)
|
||||
|
||||
static bool xmb_font_init_first(const gl_font_renderer_t **font_driver,
|
||||
void **font_handle, void *video_data, const char *font_path,
|
||||
float font_size)
|
||||
float xmb_font_size)
|
||||
{
|
||||
if (g_settings.video.threaded
|
||||
&& !g_extern.system.hw_render_callback.context_type)
|
||||
@ -884,7 +884,7 @@ static bool xmb_font_init_first(const gl_font_renderer_t **font_driver,
|
||||
thr->cmd_data.font_init.font_handle = font_handle;
|
||||
thr->cmd_data.font_init.video_data = video_data;
|
||||
thr->cmd_data.font_init.font_path = font_path;
|
||||
thr->cmd_data.font_init.font_size = font_size;
|
||||
thr->cmd_data.font_init.font_size = xmb_font_size;
|
||||
thr->send_cmd_func(thr, CMD_FONT_INIT);
|
||||
thr->wait_reply_func(thr, CMD_FONT_INIT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user