Browse Source
Update src/ImageSharp/Memory/DiscontiguousBuffers/MemoryGroup{T}.Owned.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
pull/2327/head
Stefan Nikolei
4 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/ImageSharp/Memory/DiscontiguousBuffers/MemoryGroup{T}.Owned.cs
|
|
@ -123,7 +123,7 @@ internal abstract partial class MemoryGroup<T> |
|
|
|
|
|
|
|
|
public override void RecreateViewAfterSwap() |
|
|
public override void RecreateViewAfterSwap() |
|
|
{ |
|
|
{ |
|
|
this.View?.Invalidate(); |
|
|
this.View.Invalidate(); |
|
|
this.View = new MemoryGroupView<T>(this); |
|
|
this.View = new MemoryGroupView<T>(this); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|