mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Do blending begin / end only once for horizontal tabs
This commit is contained in:
parent
d239bee4e8
commit
a908cf4101
@ -1968,6 +1968,8 @@ static void xmb_frame(void *data)
|
||||
0,
|
||||
1, &coord_color2[0]);
|
||||
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_BLEND_BEGIN, NULL);
|
||||
|
||||
/* Horizontal tab icons */
|
||||
for (i = 0; i <= xmb_list_get_size(xmb, MENU_LIST_HORIZONTAL)
|
||||
+ XMB_SYSTEM_TAB_END; i++)
|
||||
@ -1977,8 +1979,6 @@ static void xmb_frame(void *data)
|
||||
if (!node)
|
||||
continue;
|
||||
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_BLEND_BEGIN, NULL);
|
||||
|
||||
menu_display_set_alpha(item_color,
|
||||
node->alpha > xmb->alpha ? xmb->alpha : node->alpha);
|
||||
|
||||
@ -2016,10 +2016,10 @@ static void xmb_frame(void *data)
|
||||
scale_factor,
|
||||
&item_color[0]);
|
||||
}
|
||||
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_BLEND_END, NULL);
|
||||
}
|
||||
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_BLEND_END, NULL);
|
||||
|
||||
/* Vertical icons */
|
||||
xmb_draw_items(xmb,
|
||||
xmb->selection_buf_old,
|
||||
|
Loading…
x
Reference in New Issue
Block a user