From 433e3aeefe3ff26b5ad563fa5de858181a4e0960 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 6 Jul 2022 21:49:56 +0200 Subject: [PATCH] Enable mpv drawing in simulator --- Model/Player/Backends/MPVClient.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Model/Player/Backends/MPVClient.swift b/Model/Player/Backends/MPVClient.swift index 7a08a98c..7d86262e 100644 --- a/Model/Player/Backends/MPVClient.swift +++ b/Model/Player/Backends/MPVClient.swift @@ -384,11 +384,6 @@ final class MPVClient: ObservableObject { } private func glUpdate(_ ctx: UnsafeMutableRawPointer?) { - #if targetEnvironment(simulator) - // performance of drawing in simulator is poor and buggy, disable it - return - #endif - let glView = unsafeBitCast(ctx, to: MPVOGLView.self) guard glView.needsDrawing else {