mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
gl: draw OSD on top of overlay
This commit is contained in:
parent
998465d2fc
commit
3a431adf02
@ -2719,6 +2719,11 @@ static bool gl2_frame(void *data, const void *frame,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
if (gl->overlay_enable)
|
||||
gl2_render_overlay(gl, video_info);
|
||||
#endif
|
||||
|
||||
if (!string_is_empty(msg))
|
||||
{
|
||||
if (video_info->msg_bgcolor_enable)
|
||||
@ -2726,11 +2731,6 @@ static bool gl2_frame(void *data, const void *frame,
|
||||
font_driver_render_msg(video_info, NULL, msg, NULL);
|
||||
}
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
if (gl->overlay_enable)
|
||||
gl2_render_overlay(gl, video_info);
|
||||
#endif
|
||||
|
||||
video_info->cb_update_window_title(
|
||||
video_info->context_data, video_info);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user