From 2e17f28f9ad24a71e1312743b4077ddb265a1dcb Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Fri, 7 Oct 2022 12:30:36 +0200 Subject: [PATCH] Add netstandard2.1 support. --- src/Vortice.Win32.Direct3D11/DepthStencilDescription.cs | 2 +- .../DepthStencilOperationDescription.cs | 2 +- .../Vortice.Win32.Direct3D11.csproj | 2 +- .../Vortice.Win32.Direct3D11on12.csproj | 2 +- .../Vortice.Win32.Direct3D12.csproj | 2 +- src/Vortice.Win32.Dxc/Vortice.Win32.Dxc.csproj | 2 +- src/Vortice.Win32/Vortice.Win32.csproj | 7 +++++-- 7 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/Vortice.Win32.Direct3D11/DepthStencilDescription.cs b/src/Vortice.Win32.Direct3D11/DepthStencilDescription.cs index 163896d..ecc93e6 100644 --- a/src/Vortice.Win32.Direct3D11/DepthStencilDescription.cs +++ b/src/Vortice.Win32.Direct3D11/DepthStencilDescription.cs @@ -58,7 +58,7 @@ public unsafe partial struct DepthStencilDescription /// /// Specifies whether to enable depth testing. Set this member to true to enable depth testing. /// Specifies a value that identifies a portion of the depth-stencil buffer that can be modified by depth data. - /// A value that identifies a function that compares depth data against existing depth data. + /// A value that identifies a function that compares depth data against existing depth data. /// Specifies whether to enable stencil testing. Set this member to true to enable stencil testing. /// Identify a portion of the depth-stencil buffer for reading stencil data. /// Identify a portion of the depth-stencil buffer for writing stencil data. diff --git a/src/Vortice.Win32.Direct3D11/DepthStencilOperationDescription.cs b/src/Vortice.Win32.Direct3D11/DepthStencilOperationDescription.cs index 248deb7..fdedbe7 100644 --- a/src/Vortice.Win32.Direct3D11/DepthStencilOperationDescription.cs +++ b/src/Vortice.Win32.Direct3D11/DepthStencilOperationDescription.cs @@ -16,7 +16,7 @@ public unsafe partial struct DepthStencilOperationDescription /// A value that identifies the stencil operation to perform when stencil testing fails. /// A value that identifies the stencil operation to perform when stencil testing passes and depth testing fails. /// A value that identifies the stencil operation to perform when stencil testing and depth testing both pass. - /// A value that identifies the function that compares stencil data against existing stencil data. + /// A value that identifies the function that compares stencil data against existing stencil data. public DepthStencilOperationDescription(StencilOperation stencilFailOp, StencilOperation stencilDepthFailOp, StencilOperation stencilPassOp, ComparisonFunction stencilFunc) { StencilFailOp = stencilFailOp; diff --git a/src/Vortice.Win32.Direct3D11/Vortice.Win32.Direct3D11.csproj b/src/Vortice.Win32.Direct3D11/Vortice.Win32.Direct3D11.csproj index c5ebea9..02b7ebc 100644 --- a/src/Vortice.Win32.Direct3D11/Vortice.Win32.Direct3D11.csproj +++ b/src/Vortice.Win32.Direct3D11/Vortice.Win32.Direct3D11.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0 Direct3D11 bindings. true diff --git a/src/Vortice.Win32.Direct3D11on12/Vortice.Win32.Direct3D11on12.csproj b/src/Vortice.Win32.Direct3D11on12/Vortice.Win32.Direct3D11on12.csproj index 75b6738..bdff859 100644 --- a/src/Vortice.Win32.Direct3D11on12/Vortice.Win32.Direct3D11on12.csproj +++ b/src/Vortice.Win32.Direct3D11on12/Vortice.Win32.Direct3D11on12.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0 Direct3D11on12 bindings. true diff --git a/src/Vortice.Win32.Direct3D12/Vortice.Win32.Direct3D12.csproj b/src/Vortice.Win32.Direct3D12/Vortice.Win32.Direct3D12.csproj index 24dd64c..d173e07 100644 --- a/src/Vortice.Win32.Direct3D12/Vortice.Win32.Direct3D12.csproj +++ b/src/Vortice.Win32.Direct3D12/Vortice.Win32.Direct3D12.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0 Direct3D12 bindings. true diff --git a/src/Vortice.Win32.Dxc/Vortice.Win32.Dxc.csproj b/src/Vortice.Win32.Dxc/Vortice.Win32.Dxc.csproj index 1670469..05e3b78 100644 --- a/src/Vortice.Win32.Dxc/Vortice.Win32.Dxc.csproj +++ b/src/Vortice.Win32.Dxc/Vortice.Win32.Dxc.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0 DXC bindings. true diff --git a/src/Vortice.Win32/Vortice.Win32.csproj b/src/Vortice.Win32/Vortice.Win32.csproj index 35de665..312cd39 100644 --- a/src/Vortice.Win32/Vortice.Win32.csproj +++ b/src/Vortice.Win32/Vortice.Win32.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0 Windows API low level bindings. true @@ -26,10 +26,13 @@ - + + + + <_Parameter1>Vortice.Win32.Direct3D11