Fixed build error in WinUI project

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-20 00:28:04 +01:00
1 親 5fb3f8ebab
コミット 311eca9a03
1ファイル変更
+4 -1
+4 -1
ファイルの表示
@@ -1,4 +1,7 @@
using System;
using ComputeSharp.__Internals;
#pragma warning disable CS0618
namespace ComputeSharp.WinUI
{
@@ -7,7 +10,7 @@ namespace ComputeSharp.WinUI
/// </summary>
/// <typeparam name="T">The type of shader to use to render frames.</typeparam>
public sealed class ShaderRunner<T> : IShaderRunner
where T : struct, IPixelShader<Float4>
where T : struct, IPixelShader<Float4>, IShader<T>
{
/// <summary>
/// The <see cref="Func{T1, TResult}"/> instance used to create shaders to run.