mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-07 17:21:31 +00:00
Merge pull request #1343 from lakkatv/xmb
(XMB) Improve mali bug workaround, now seem to cover all case
This commit is contained in:
commit
de4fed61ba
@ -217,7 +217,7 @@ static void lakka_draw_icon(lakka_handle_t *lakka,
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
if (x < -lakka->icon_size || x > gl->win_width
|
||||
if (x < -lakka->icon_size/2 || x > gl->win_width
|
||||
|| y < lakka->icon_size/2 || y > gl->win_height + lakka->icon_size)
|
||||
return;
|
||||
|
||||
|
@ -196,7 +196,7 @@ static void xmb_draw_icon(GLuint texture, float x, float y,
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
if (x < -xmb->icon_size || x > gl->win_width
|
||||
if (x < -xmb->icon_size/2 || x > gl->win_width
|
||||
|| y < xmb->icon_size/2 || y > gl->win_height + xmb->icon_size)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user