Browse Source

Switch to Metal by default (#15994)

Backport of 11.2 changes into 11.1.
See https://github.com/AvaloniaUI/Avalonia/issues/14933#issuecomment-2149192671
release/11.1.3
Max Katz 2 years ago
committed by GitHub
parent
commit
9d1069b51c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/iOS/Avalonia.iOS/Platform.cs

4
src/iOS/Avalonia.iOS/Platform.cs

@ -30,12 +30,12 @@ namespace Avalonia
/// <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
};
}

Loading…
Cancel
Save