Julien Lebosquain
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Base/Rendering/Composition/Server/ServerCompositionTarget.cs
|
|
|
@ -62,7 +62,7 @@ namespace Avalonia.Rendering.Composition.Server |
|
|
|
_overlays = new CompositionTargetOverlays(this); |
|
|
|
var platformRender = AvaloniaLocator.Current.GetService<IPlatformRenderInterface>(); |
|
|
|
|
|
|
|
if (platformRender?.SupportsRegions == true && compositor.Options.UseRegionDirtyRectClipping != false) |
|
|
|
if (platformRender?.SupportsRegions == true && compositor.Options.UseRegionDirtyRectClipping == true) |
|
|
|
{ |
|
|
|
var maxRects = compositor.Options.MaxDirtyRects ?? 8; |
|
|
|
DirtyRects = maxRects <= 0 |
|
|
|
|