Minor code style tweaks
このコミットが含まれているのは:
1 親
b5129f69ac
コミット
aa2614d011
1ファイル変更
+1
-1
@@ -37,7 +37,7 @@ namespace ComputeSharp.Shaders
|
||||
{
|
||||
ConditionalWeakTable<GraphicsDevice, ConstantBuffer<Int4>> map = variablesBuffers ??= new();
|
||||
|
||||
return map.GetValue(device, gpu => new ConstantBuffer<Int4>(gpu, 4096));
|
||||
return map.GetValue(device, static gpu => new(gpu, 4096));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする