diff --git a/src/iOS/Avalonia.iOS/Metal/MetalPlatformGraphics.cs b/src/iOS/Avalonia.iOS/Metal/MetalPlatformGraphics.cs index fb5ffc862c..828abfbb88 100644 --- a/src/iOS/Avalonia.iOS/Metal/MetalPlatformGraphics.cs +++ b/src/iOS/Avalonia.iOS/Metal/MetalPlatformGraphics.cs @@ -33,17 +33,6 @@ internal class MetalPlatformGraphics : IPlatformGraphics return null; } -#if !TVOS - using var queue = device.CreateCommandQueue(); - using var context = GRContext.CreateMetal(new GRMtlBackendContext { Device = device, Queue = queue }); - if (context is null) - { - // Can be null on macCatalyst because of older Skia bug. - // Fixed in SkiaSharp 3.0 - return null; - } -#endif - return new MetalPlatformGraphics(device); } }