Skip to content

Commit

Permalink
Switch to Metal by default (#15994)
Browse files Browse the repository at this point in the history
Backport of 11.2 changes into 11.1.
See #14933 (comment)
  • Loading branch information
maxkatz6 authored Aug 6, 2024
1 parent 55a5672 commit 9d1069b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iOS/Avalonia.iOS/Platform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public class iOSPlatformOptions
/// <summary>
/// Gets or sets Avalonia rendering modes with fallbacks.
/// The first element in the array has the highest priority.
/// The default value is: <see cref="iOSRenderingMode.OpenGl"/>.
/// The default value is: <see cref="iOSRenderingMode.Metal"/>.
/// </summary>
/// <exception cref="System.InvalidOperationException">Thrown if no values were matched.</exception>
public IReadOnlyList<iOSRenderingMode> RenderingMode { get; set; } = new[]
{
iOSRenderingMode.OpenGl, iOSRenderingMode.Metal
iOSRenderingMode.Metal, iOSRenderingMode.OpenGl
};
}

Expand Down

0 comments on commit 9d1069b

Please sign in to comment.