Browse Source

Merge pull request #2028 from AvaloniaUI/features/enable-gpu-rendering-default

gpu rendering is the defaults on avalonia native
danwalmsley 7 years ago
parent
commit
be4f1a837e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Avalonia.Native/AvaloniaNativePlatform.cs

+ 1 - 1
src/Avalonia.Native/AvaloniaNativePlatform.cs

@@ -120,7 +120,7 @@ namespace Avalonia.Native
     {
         public AvaloniaNativeMacOptions MacOptions { get; set; }
         public bool UseDeferredRendering { get; set; } = true;
-        public bool UseGpu { get; set; } = false;
+        public bool UseGpu { get; set; } = true;
         internal AvaloniaNativeOptions(IAvaloniaNativeFactory factory)
         {
             var mac = factory.GetMacOptions();