(XMB) Another workaround for the same bug

This commit is contained in:
Jean-André Santoni 2015-01-16 00:59:06 +01:00
parent 75bd53967d
commit 1035cdd132
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ static void lakka_draw_icon(lakka_handle_t *lakka,
return;
if (x < -lakka->icon_size || x > gl->win_width
|| y < 0 || y > gl->win_height + lakka->icon_size)
|| y < lakka->icon_size/2 || y > gl->win_height + lakka->icon_size)
return;
GLfloat color[] = {

View File

@ -197,7 +197,7 @@ static void xmb_draw_icon(GLuint texture, float x, float y,
return;
if (x < -xmb->icon_size || x > gl->win_width
|| y < 0 || y > gl->win_height + xmb->icon_size)
|| y < lakka->icon_size/2 || y > gl->win_height + xmb->icon_size)
return;
GLfloat color[] = {