mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-08 19:40:30 +00:00
(GLUI) fixes segfault when selecting a video filter.
This commit is contained in:
parent
1ea548d068
commit
6ae462a61c
@ -163,6 +163,11 @@ static void glui_frame(void)
|
|||||||
if (!driver.menu || !gl)
|
if (!driver.menu || !gl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (driver.menu->need_refresh
|
||||||
|
&& g_extern.is_menu
|
||||||
|
&& !driver.menu->msg_force)
|
||||||
|
return;
|
||||||
|
|
||||||
line_height = g_settings.video.font_size * 4 / 3;
|
line_height = g_settings.video.font_size * 4 / 3;
|
||||||
glyph_width = line_height / 2;
|
glyph_width = line_height / 2;
|
||||||
glui_margin = gl->win_width / 20 ;
|
glui_margin = gl->win_width / 20 ;
|
||||||
|
Loading…
Reference in New Issue
Block a user