mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 15:39:55 +00:00
(MaterialUI) Fix performance regression - we were not checking
if the menu background actually exists prior to initiating the task
This commit is contained in:
parent
476c047f85
commit
05bff46236
@ -1565,6 +1565,7 @@ static void mui_context_reset(void *data)
|
|||||||
menu_display_allocate_white_texture();
|
menu_display_allocate_white_texture();
|
||||||
mui_context_reset_textures(mui);
|
mui_context_reset_textures(mui);
|
||||||
|
|
||||||
|
if (!string_is_empty(settings->path.menu_wallpaper))
|
||||||
task_push_image_load(settings->path.menu_wallpaper,
|
task_push_image_load(settings->path.menu_wallpaper,
|
||||||
menu_display_handle_wallpaper_upload, NULL);
|
menu_display_handle_wallpaper_upload, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user