Skip to content

Commit

Permalink
linux: enable gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
yatli committed Apr 2, 2020
1 parent 2bd8cb7 commit c4458b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let buildAvaloniaApp() =
.UseReactiveUI()
.With(new Win32PlatformOptions(UseDeferredRendering=false, AllowEglInitialization=true))
.With(new AvaloniaNativePlatformOptions(UseDeferredRendering=false, UseGpu=true))
.With(new X11PlatformOptions(UseEGL=true, UseGpu=false))
.With(new X11PlatformOptions(UseEGL=true, UseGpu=true))
.With(new MacOSPlatformOptions(ShowInDock=true))
.LogToDebug()

Expand Down

0 comments on commit c4458b9

Please sign in to comment.