(MaterialUI) Fix performance regression - we were not checking

if the menu background actually exists prior to initiating the task
This commit is contained in:
twinaphex 2017-01-09 16:20:43 +01:00
parent 476c047f85
commit 05bff46236

View File

@ -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);
}