Don't grab settings pointer inside menu_display_draw_bg
This commit is contained in:
parent
526072ccdf
commit
7a309faf6d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue