From 573eddb5a464dff64401acc9b80afdccd9fe755e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 8 Jun 2020 03:28:32 +0200 Subject: [PATCH] (Metal) Always run this regardless --- gfx/common/metal_common.m | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/gfx/common/metal_common.m b/gfx/common/metal_common.m index db3161fb69..af1bd49c52 100644 --- a/gfx/common/metal_common.m +++ b/gfx/common/metal_common.m @@ -294,9 +294,6 @@ @autoreleasepool { bool statistics_show = video_info->statistics_show; -#ifdef HAVE_GFX_WIDGETS - bool widgets_active = gfx_widgets_active(); -#endif [self _beginFrame]; @@ -338,12 +335,9 @@ } #ifdef HAVE_GFX_WIDGETS - if (widgets_active) - { - [rce pushDebugGroup:@"display widgets"]; - gfx_widgets_frame(video_info); - [rce popDebugGroup]; - } + [rce pushDebugGroup:@"display widgets"]; + gfx_widgets_frame(video_info); + [rce popDebugGroup]; #endif if (msg && *msg)