mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(GLUI) Fix a display bug on switches
This commit is contained in:
parent
8411cc75a0
commit
81d4d9f046
@ -561,7 +561,8 @@ static void glui_render_menu_list(glui_handle_t *glui, gl_t *gl,
|
||||
|
||||
y = header_height - menu->scroll_y + (glui->line_height * i);
|
||||
|
||||
if (y > (int)height || ((y + (int)glui->line_height) < 0))
|
||||
if ((y - (int)glui->line_height) > (int)height
|
||||
|| ((y + (int)glui->line_height) < 0))
|
||||
continue;
|
||||
|
||||
menu_entry_get(&entry, 0, i, NULL, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user