Fixed a small bug

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-20 00:44:18 +02:00
1 親 19454b4e58
コミット 228c4787d4
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -47,7 +47,7 @@ namespace ComputeSharp.Graphics.Buffers
{
// Create the temporary array
byte[] temporaryArray = ArrayPool<byte>.Shared.Rent(count * PaddedElementSizeInBytes);
Span<byte> temporarySpan = temporaryArray.AsSpan(count * PaddedElementSizeInBytes);
Span<byte> temporarySpan = temporaryArray.AsSpan(0, count * PaddedElementSizeInBytes);
// Copy the padded data to the temporary array
Map(0);