Fix C# 11 check in D2D1 source generator

Used the wrong local in dab94bdae7
このコミットが含まれているのは:
Sergio Pedri committed 2022-10-11 19:01:28 +02:00
1 親 59378e4cf9
コミット 6131b7f9b0
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -217,7 +217,7 @@ public sealed partial class ID2D1ShaderGenerator : IIncrementalGenerator
IncrementalValuesProvider<((HierarchyInfo Hierarchy, string HlslSource) Info, bool CanUseRawMultilineStringLiterals)> hlslSourceInfo =
shaderInfoWithErrors
.Select(static (item, _) => (item.Hierarchy, item.HlslShaderSource.HlslSource))
.Combine(canUseSkipLocalsInit);
.Combine(canUseRawMultilineStringLiterals);
// Generate the BuildHlslSource() methods
context.RegisterSourceOutput(hlslSourceInfo, static (context, item) =>