Skip to content

Commit d86ab3f

Browse files
author
LoneWandererProductions
committed
remove useless pointer
1 parent 064bcac commit d86ab3f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Imaging/DirectBitmapImage.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ public unsafe void FillSimd(Color color)
154154
var packed = (uint)(color.A << 24 | color.R << 16 | color.G << 8 | color.B);
155155
_bitmap.Lock();
156156

157-
var ptr = (uint*)_bitmap.BackBuffer.ToPointer();
158157
var len = Bits.Length;
159158
var vecSize = Vector<uint>.Count;
160159
var i = 0;
@@ -403,4 +402,4 @@ private void Dispose(bool disposing)
403402
{
404403
Dispose(false);
405404
}
406-
}
405+
}

0 commit comments

Comments
 (0)