Browse Source
Merge branch 'master' into fixes/prevent-invalid-draw-operation-bounds
pull/3948/head
danwalmsley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Visuals/Rendering/SceneGraph/DeferredDrawingContextImpl.cs
|
|
|
@ -364,7 +364,7 @@ namespace Avalonia.Rendering.SceneGraph |
|
|
|
public int DrawOperationIndex { get; } |
|
|
|
} |
|
|
|
|
|
|
|
private void Add(IDrawOperation node) |
|
|
|
private void Add<T>(T node) where T : class, IDrawOperation |
|
|
|
{ |
|
|
|
using (var refCounted = RefCountable.Create(node)) |
|
|
|
{ |
|
|
|
|