Skip to content

Commit

Permalink
Switch to Metal by default
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 Jun 11, 2024
1 parent 2c1a181 commit ab82ac7
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 ab82ac7

Please sign in to comment.