Switched indexers from uint to int

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-25 12:28:13 +02:00
1 親 332701c0fa
コミット de42a9de7e
7ファイル変更
+15 -19

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -30,7 +30,7 @@ namespace ComputeSharp.Sample
// Run the shader
Gpu.Default.For(100, id =>
{
uint offset = id.X + id.Y * (uint)width;
int offset = id.X + id.Y * width;
gpuBuffer[offset] *= 2;
});