mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 05:16:18 +00:00
Turn function static
This commit is contained in:
parent
ad4e633e11
commit
a3fd1868c1
@ -536,6 +536,15 @@ static void xmb_update_boxart_path(xmb_handle_t *xmb, unsigned i)
|
||||
strlcat(xmb->boxart_file_path, ".png", sizeof(xmb->boxart_file_path));
|
||||
}
|
||||
|
||||
static void menu_display_handle_boxart_upload(void *task_data,
|
||||
void *user_data, const char *err)
|
||||
{
|
||||
struct texture_image *img = (struct texture_image*)task_data;
|
||||
menu_driver_load_image(img, MENU_IMAGE_BOXART);
|
||||
video_texture_image_free(img);
|
||||
free(img);
|
||||
}
|
||||
|
||||
static void xmb_update_boxart_image(xmb_handle_t *xmb)
|
||||
{
|
||||
if (path_file_exists(xmb->boxart_file_path))
|
||||
|
@ -578,12 +578,3 @@ void menu_display_handle_wallpaper_upload(void *task_data,
|
||||
video_texture_image_free(img);
|
||||
free(img);
|
||||
}
|
||||
|
||||
void menu_display_handle_boxart_upload(void *task_data,
|
||||
void *user_data, const char *err)
|
||||
{
|
||||
struct texture_image *img = (struct texture_image*)task_data;
|
||||
menu_driver_load_image(img, MENU_IMAGE_BOXART);
|
||||
video_texture_image_free(img);
|
||||
free(img);
|
||||
}
|
||||
|
@ -183,9 +183,6 @@ void menu_display_matrix_4x4_rotate_z(
|
||||
void menu_display_handle_wallpaper_upload(void *task_data,
|
||||
void *user_data, const char *err);
|
||||
|
||||
void menu_display_handle_boxart_upload(void *task_data,
|
||||
void *user_data, const char *err);
|
||||
|
||||
const float *menu_display_get_tex_coords(void);
|
||||
|
||||
extern menu_display_ctx_driver_t menu_display_ctx_gl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user