(XMB) Fix cursor alpha

This commit is contained in:
Jean-André Santoni 2015-10-27 15:05:02 +07:00
parent 8f8d75de00
commit 0b48af4781

View File

@ -1731,6 +1731,9 @@ static void xmb_frame(void)
xmb_frame_messagebox(msg);
}
/* set alpha components of colors */
coord_color2[3] = coord_color2[7] = coord_color2[11] = coord_color2[15] = (1.00f > xmb->alpha) ? xmb->alpha : 1.00f;
if (settings->menu.mouse.enable && (settings->video.fullscreen || !video_driver_has_windowed()))
{
int16_t mouse_x = menu_input_mouse_state(MENU_MOUSE_X_AXIS);