Browse Source

Fix build

pull/2894/head
James Jackson-South 10 months ago
parent
commit
b09ea41042
  1. 5
      src/ImageSharp/ImageSharp.csproj
  2. 2
      tests/ImageSharp.Tests/Image/ImageFrameTests.cs
  3. 2
      tests/ImageSharp.Tests/Image/ImageTests.cs

5
src/ImageSharp/ImageSharp.csproj

@ -44,11 +44,6 @@
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp\sixlabors.imagesharp.128.png" Pack="true" PackagePath="" />
<None Include="..\..\SixLabors.ImageSharp.props" Pack="true" PackagePath="build" />
<None Include="Common\InlineArray.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>InlineArray.tt</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>

2
tests/ImageSharp.Tests/Image/ImageFrameTests.cs

@ -119,7 +119,7 @@ public class ImageFrameTests
}
else
{
Span<La16> destination = MemoryMarshal.Cast<byte, La16>(actual.AsSpan());
Span<La16> destination = MemoryMarshal.Cast<byte, La16>(actual);
image.Frames.RootFrame.CopyPixelDataTo(destination);
}

2
tests/ImageSharp.Tests/Image/ImageTests.cs

@ -197,7 +197,7 @@ public partial class ImageTests
}
else
{
Span<La16> destination = MemoryMarshal.Cast<byte, La16>(actual.AsSpan());
Span<La16> destination = MemoryMarshal.Cast<byte, La16>(actual);
image.CopyPixelDataTo(destination);
}

Loading…
Cancel
Save