Browse Source

removed unnecessary unsafe modifier [skip ci]

pull/210/head
Anton Firszov 9 years ago
parent
commit
4d421eb133
  1. 2
      src/ImageSharp/PixelFormats/Rgba32.PixelOperations.cs

2
src/ImageSharp/PixelFormats/Rgba32.PixelOperations.cs

@ -39,7 +39,7 @@ namespace ImageSharp
/// <cref>https://github.com/dotnet/corefx/issues/15957</cref> /// <cref>https://github.com/dotnet/corefx/issues/15957</cref>
/// </see> /// </see>
/// </remarks> /// </remarks>
internal static unsafe void ToVector4SimdAligned(BufferSpan<Rgba32> sourceColors, BufferSpan<Vector4> destVectors, int count) internal static void ToVector4SimdAligned(BufferSpan<Rgba32> sourceColors, BufferSpan<Vector4> destVectors, int count)
{ {
if (!Vector.IsHardwareAccelerated) if (!Vector.IsHardwareAccelerated)
{ {

Loading…
Cancel
Save