From 9d1069b51c044811caf9f1265a6a7927cc39f086 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Tue, 6 Aug 2024 15:35:47 -0700 Subject: [PATCH] Switch to Metal by default (#15994) Backport of 11.2 changes into 11.1. See https://github.com/AvaloniaUI/Avalonia/issues/14933#issuecomment-2149192671 --- src/iOS/Avalonia.iOS/Platform.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iOS/Avalonia.iOS/Platform.cs b/src/iOS/Avalonia.iOS/Platform.cs index 57d31f773c9..4677b9c13a7 100644 --- a/src/iOS/Avalonia.iOS/Platform.cs +++ b/src/iOS/Avalonia.iOS/Platform.cs @@ -30,12 +30,12 @@ public class iOSPlatformOptions /// /// Gets or sets Avalonia rendering modes with fallbacks. /// The first element in the array has the highest priority. - /// The default value is: . + /// The default value is: . /// /// Thrown if no values were matched. public IReadOnlyList RenderingMode { get; set; } = new[] { - iOSRenderingMode.OpenGl, iOSRenderingMode.Metal + iOSRenderingMode.Metal, iOSRenderingMode.OpenGl }; }