Removed unnecessary exception in the shader loader

このコミットが含まれているのは:
Sergio Pedri committed 2019-09-05 13:27:02 +02:00
1 親 f50e25c914
コミット f7de2a2c65
1ファイル変更
-1
-1
ファイルの表示
@@ -273,7 +273,6 @@ namespace ComputeSharp.Shaders.Translation
// Captured static Func<T> (and available generic type combinations)
LoadStaticMethodSource(fieldName, func.Method);
}
else throw new InvalidOperationException($"Invalid captured variable \"{fieldName}\" of type {fieldType}");
}
/// <summary>