Browse Source

Try open the softrender mode tode debug the FramebufferRenderTarget

pull/17118/head
lindexi 2 years ago
parent
commit
9e245be7f4
  1. 3
      samples/RenderDemo/App.xaml.cs

3
samples/RenderDemo/App.xaml.cs

@ -1,6 +1,8 @@
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using Avalonia.Media;
using System.Collections.Generic;
namespace RenderDemo
{
@ -29,6 +31,7 @@ namespace RenderDemo
.With(new Win32PlatformOptions
{
OverlayPopups = true,
RenderingMode = new List<Win32RenderingMode>(){ Win32RenderingMode.Software }
})
.UsePlatformDetect()
.LogToTrace();

Loading…
Cancel
Save