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));
|
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)
|
static void xmb_update_boxart_image(xmb_handle_t *xmb)
|
||||||
{
|
{
|
||||||
if (path_file_exists(xmb->boxart_file_path))
|
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);
|
video_texture_image_free(img);
|
||||||
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 menu_display_handle_wallpaper_upload(void *task_data,
|
||||||
void *user_data, const char *err);
|
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);
|
const float *menu_display_get_tex_coords(void);
|
||||||
|
|
||||||
extern menu_display_ctx_driver_t menu_display_ctx_gl;
|
extern menu_display_ctx_driver_t menu_display_ctx_gl;
|
||||||
|
|
Loading…
Reference in New Issue