mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
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;
|
||||
|
||||
if (add_opacity_to_wallpaper)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
menu_display_set_alpha(draw->color, settings->menu.wallpaper.opacity);
|
||||
}
|
||||
menu_display_set_alpha(draw->color, video_info->menu_wallpaper_opacity);
|
||||
|
||||
if (!draw->texture)
|
||||
draw->texture = menu_display_white_texture;
|
||||
|
Loading…
Reference in New Issue
Block a user