Removed redundant array zeroing
このコミットが含まれているのは:
1 親
2dfd8855f4
コミット
c6f39b1c36
1ファイル変更
+1
-1
@@ -109,7 +109,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
[Pure]
|
||||
public T[] GetData(int offset, int count)
|
||||
{
|
||||
T[] data = new T[count];
|
||||
T[] data = GC.AllocateUninitializedArray<T>(count);
|
||||
|
||||
GetData(data, offset, count);
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする