mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +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();
|
||||
mui_context_reset_textures(mui);
|
||||
|
||||
if (!string_is_empty(settings->path.menu_wallpaper))
|
||||
task_push_image_load(settings->path.menu_wallpaper,
|
||||
menu_display_handle_wallpaper_upload, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user