Permalink
Browse files

Merge pull request #736 from danwalmsley/fixes/720-osx-enable-gpu-ren…

…dering

Fixes/720 osx enable gpu rendering
  • Loading branch information...
nopara73 committed Oct 17, 2018
2 parents 65eed16 + c52441b commit 4d5afbb1a0339170faac549969e782ded4cd6729
Showing with 6 additions and 2 deletions.
  1. +5 −1 WalletWasabi.Gui/Program.cs
  2. +1 −1 WalletWasabi.Gui/WalletWasabi.Gui.csproj
@@ -76,7 +76,11 @@ private static AppBuilder BuildAvaloniaApp()
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
builder.UseAvaloniaNative().UseSkia();
builder.UseAvaloniaNative(null, opts=>{
opts.UseDeferredRendering = true;
opts.UseGpu = true;
opts.MacOptions.ShowInDock = true;
}).UseSkia();
}
else
{
@@ -68,7 +68,7 @@
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" />
<PackageReference Include="Avalonia.Native" Version="0.7.0-build4201810154" />
<PackageReference Include="Avalonia.Native" Version="0.7.0-build4201810171" />
</ItemGroup>
<ItemGroup>

0 comments on commit 4d5afbb

Please sign in to comment.