Skip to content

Commit

Permalink
Change default render to vulkan for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
13584452567 committed Nov 18, 2024
1 parent 82483ed commit 831fa2f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions UotanToolbox/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,17 @@ public static AppBuilder BuildAvaloniaApp()
// No need to set default for Windows
var app = AppBuilder.Configure<App>()
.UsePlatformDetect()
.With(new Win32PlatformOptions
{
RenderingMode = new[]
{
Win32RenderingMode.Vulkan
}
})
.WithInterFont()
#if DEBUG
.LogToTrace()
#endif
.UseXamlDisplay();
return app;
}
Expand Down

0 comments on commit 831fa2f

Please sign in to comment.