mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(XMB) Put xmb_draw_icon_end/xmb_draw_icon_begin around icon rendering
This commit is contained in:
parent
7a2e1e085f
commit
8071b15c0b
@ -1331,14 +1331,17 @@ static void xmb_frame(void)
|
||||
node = xmb_get_userdata_from_core(xmb, info, i - 1);
|
||||
|
||||
if (node)
|
||||
{
|
||||
xmb_draw_icon_begin(gl, xmb);
|
||||
xmb_draw_icon(gl, xmb, node->icon,
|
||||
xmb->x + xmb->categories.x_pos + xmb->margins.screen.left + xmb->icon.spacing.horizontal * (i + 1) - xmb->icon.size / 2.0,
|
||||
xmb->margins.screen.top + xmb->icon.size / 2.0,
|
||||
node->alpha,
|
||||
0,
|
||||
node->zoom);
|
||||
xmb_draw_icon_end(gl, xmb);
|
||||
}
|
||||
}
|
||||
xmb_draw_icon_end(gl, xmb);
|
||||
|
||||
if (menu->keyboard.display)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user