Don't grab settings pointer inside menu_display_draw_bg

This commit is contained in:
twinaphex 2017-01-20 14:26:49 +01:00
parent 526072ccdf
commit 7a309faf6d
1 changed files with 1 additions and 4 deletions

View File

@ -524,10 +524,7 @@ void menu_display_draw_bg(menu_display_ctx_draw_t *draw,
add_opacity_to_wallpaper = true; add_opacity_to_wallpaper = true;
if (add_opacity_to_wallpaper) if (add_opacity_to_wallpaper)
{ menu_display_set_alpha(draw->color, video_info->menu_wallpaper_opacity);
settings_t *settings = config_get_ptr();
menu_display_set_alpha(draw->color, settings->menu.wallpaper.opacity);
}
if (!draw->texture) if (!draw->texture)
draw->texture = menu_display_white_texture; draw->texture = menu_display_white_texture;