Merge pull request #2294 from lakkatv/xmb

(XMB) Fix cursor alpha
This commit is contained in:
Twinaphex 2015-10-27 09:08:09 +01:00
commit c8ca6dc3df

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);