mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 05:16:18 +00:00
(XMB) Fix an anoying display bug with mali_fbdev behaving weirdly when drawing out of screen
This commit is contained in:
parent
376ee9e4ba
commit
75bd53967d
@ -217,8 +217,8 @@ static void lakka_draw_icon(lakka_handle_t *lakka,
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
if (x < -lakka->icon_size || x > gl->win_width + lakka->icon_size
|
||||
|| y < -lakka->icon_size || y > gl->win_height + lakka->icon_size)
|
||||
if (x < -lakka->icon_size || x > gl->win_width
|
||||
|| y < 0 || y > gl->win_height + lakka->icon_size)
|
||||
return;
|
||||
|
||||
GLfloat color[] = {
|
||||
|
@ -196,8 +196,8 @@ static void xmb_draw_icon(GLuint texture, float x, float y,
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
if (x < -xmb->icon_size || x > gl->win_width + xmb->icon_size
|
||||
|| y < -xmb->icon_size || y > gl->win_height + xmb->icon_size)
|
||||
if (x < -xmb->icon_size || x > gl->win_width
|
||||
|| y < 0 || y > gl->win_height + xmb->icon_size)
|
||||
return;
|
||||
|
||||
GLfloat color[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user