mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
prevent some pointer grabbing
This commit is contained in:
parent
85bf71c0c2
commit
60eb45c102
@ -1148,8 +1148,7 @@ static bool gl_frame(void *data, const void *frame,
|
||||
|
||||
if (!string_is_empty(msg))
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (settings && settings->bools.video_msg_bgcolor_enable)
|
||||
if (video_info->msg_bgcolor_enable)
|
||||
gl_render_osd_background(gl, video_info, msg);
|
||||
font_driver_render_msg(video_info, NULL, msg, NULL);
|
||||
}
|
||||
|
@ -2786,6 +2786,8 @@ void video_driver_build_info(video_frame_info_t *video_info)
|
||||
video_info->use_rgba = video_driver_use_rgba;
|
||||
|
||||
video_info->libretro_running = false;
|
||||
video_info->msg_bgcolor_enable = settings->bools.video_msg_bgcolor_enable;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
video_info->menu_is_alive = menu_driver_is_alive();
|
||||
video_info->menu_footer_opacity = settings->floats.menu_footer_opacity;
|
||||
|
@ -426,6 +426,7 @@ typedef struct video_frame_info
|
||||
bool runloop_is_paused;
|
||||
bool is_perfcnt_enable;
|
||||
bool menu_is_alive;
|
||||
bool msg_bgcolor_enable;
|
||||
|
||||
int custom_vp_x;
|
||||
int custom_vp_y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user