Minor code style tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-04 01:00:15 +01:00
1 親 b5129f69ac
コミット aa2614d011
1ファイル変更
+1 -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));
}
}