diff --git a/Directory.Build.props b/Directory.Build.props index c8ec8c083..39ca88442 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,7 +12,7 @@ 1.0.14 1.0.13 - 2.3.0 + 2.4.2 diff --git a/src/Veldrid/D3D11/D3D11ResourceCache.cs b/src/Veldrid/D3D11/D3D11ResourceCache.cs index 24371a3a2..9d9c377b5 100644 --- a/src/Veldrid/D3D11/D3D11ResourceCache.cs +++ b/src/Veldrid/D3D11/D3D11ResourceCache.cs @@ -71,7 +71,7 @@ private ID3D11BlendState CreateNewBlendState(ref BlendStateDescription descripti for (int i = 0; i < attachmentStates.Length; i++) { BlendAttachmentDescription state = attachmentStates[i]; - d3dBlendStateDesc.RenderTarget[i].IsBlendEnabled = state.BlendEnabled; + d3dBlendStateDesc.RenderTarget[i].BlendEnable = state.BlendEnabled; d3dBlendStateDesc.RenderTarget[i].RenderTargetWriteMask = D3D11Formats.VdToD3D11ColorWriteEnable(state.ColorWriteMask.GetOrDefault()); d3dBlendStateDesc.RenderTarget[i].SourceBlend = D3D11Formats.VdToD3D11Blend(state.SourceColorFactor); d3dBlendStateDesc.RenderTarget[i].DestinationBlend = D3D11Formats.VdToD3D11Blend(state.DestinationColorFactor); diff --git a/src/Veldrid/D3D11/D3D11Sampler.cs b/src/Veldrid/D3D11/D3D11Sampler.cs index 7bbf48fe6..c3136f69b 100644 --- a/src/Veldrid/D3D11/D3D11Sampler.cs +++ b/src/Veldrid/D3D11/D3D11Sampler.cs @@ -22,7 +22,7 @@ public D3D11Sampler(ID3D11Device device, ref SamplerDescription description) MinLOD = description.MinimumLod, MaxLOD = description.MaximumLod, MaxAnisotropy = (int)description.MaximumAnisotropy, - ComparisonFunction = comparision, + ComparisonFunc = comparision, MipLODBias = description.LodBias, BorderColor = ToRawColor4(description.BorderColor) };