Browse Source
Merge pull request #3940 from MarchingCube/fix-next-draw-as
Fix NextDrawAs in the DeferredRenderer
pull/3955/head
danwalmsley
6 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)) |
|
|
|
{ |
|
|
|
|