Merge pull request #9419 from torarnv/metal-draw-video-stats-over-overlay

metal: Draw video stats on top of overlay
This commit is contained in:
Twinaphex 2019-09-03 12:44:01 +02:00 committed by GitHub
commit 97d91a895c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -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)