Update Program.cs
This commit is contained in:
Родитель
59066dcf7e
Коммит
570bf52077
|
@ -13,5 +13,25 @@ class Program
|
|||
=> AppBuilder.Configure<App>()
|
||||
.UsePlatformDetect()
|
||||
.UseSkia()
|
||||
.With(new Win32PlatformOptions()
|
||||
{
|
||||
AllowEglInitialization = true,
|
||||
UseWindowsUIComposition = true,
|
||||
UseDeferredRendering = true
|
||||
})
|
||||
.With(new X11PlatformOptions()
|
||||
{
|
||||
UseGpu = true,
|
||||
UseDeferredRendering = true
|
||||
})
|
||||
.With(new AvaloniaNativePlatformOptions()
|
||||
{
|
||||
UseGpu = true,
|
||||
UseDeferredRendering = true
|
||||
})
|
||||
.With(new MacOSPlatformOptions()
|
||||
{
|
||||
ShowInDock = true
|
||||
})
|
||||
.LogToTrace();
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче