mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 15:54:39 +00:00
metal: Draw video stats on top of overlay
This commit is contained in:
parent
5140bf9bd0
commit
af75ddd04a
@ -272,16 +272,6 @@
|
||||
[self _drawCore:video_info];
|
||||
[self _drawMenu:video_info];
|
||||
|
||||
if (video_info->statistics_show)
|
||||
{
|
||||
struct font_params *osd_params = (struct font_params *)&video_info->osd_stat_params;
|
||||
|
||||
if (osd_params)
|
||||
{
|
||||
font_driver_render_msg(video_info, NULL, video_info->stat_text, osd_params);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
if (_overlay.enabled)
|
||||
{
|
||||
@ -296,6 +286,16 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
if (video_info->statistics_show)
|
||||
{
|
||||
struct font_params *osd_params = (struct font_params *)&video_info->osd_stat_params;
|
||||
|
||||
if (osd_params)
|
||||
{
|
||||
font_driver_render_msg(video_info, NULL, video_info->stat_text, osd_params);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#ifdef HAVE_MENU_WIDGETS
|
||||
if (video_info->widgets_inited)
|
||||
|
Loading…
x
Reference in New Issue
Block a user