mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #2323 from lakkatv/material
(GLUI) Fix a display bug on switches
This commit is contained in:
commit
a752a24f98
@ -557,7 +557,8 @@ static void glui_render_menu_list(glui_handle_t *glui, gl_t *gl,
|
|||||||
|
|
||||||
y = header_height - menu->scroll_y + (glui->line_height * i);
|
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;
|
continue;
|
||||||
|
|
||||||
menu_entry_get(&entry, 0, i, NULL, true);
|
menu_entry_get(&entry, 0, i, NULL, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user