(Metal) Always run this regardless

This commit is contained in:
twinaphex 2020-06-08 03:28:32 +02:00
parent c1aeafbe3d
commit 573eddb5a4

View File

@ -294,9 +294,6 @@
@autoreleasepool @autoreleasepool
{ {
bool statistics_show = video_info->statistics_show; bool statistics_show = video_info->statistics_show;
#ifdef HAVE_GFX_WIDGETS
bool widgets_active = gfx_widgets_active();
#endif
[self _beginFrame]; [self _beginFrame];
@ -338,12 +335,9 @@
} }
#ifdef HAVE_GFX_WIDGETS #ifdef HAVE_GFX_WIDGETS
if (widgets_active) [rce pushDebugGroup:@"display widgets"];
{ gfx_widgets_frame(video_info);
[rce pushDebugGroup:@"display widgets"]; [rce popDebugGroup];
gfx_widgets_frame(video_info);
[rce popDebugGroup];
}
#endif #endif
if (msg && *msg) if (msg && *msg)