summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-11-11 17:30:20 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-11-11 17:30:20 +0000
commit7015b17f7928746e50a1197a31b5d2e9c5eb1c54 (patch)
treebdb09efb2a422591657a7315cd9788bbf53fc64a /Graphics/GraphicsEngineVulkan
parentFixed shader module names in Vk backend (diff)
downloadDiligentCore-7015b17f7928746e50a1197a31b5d2e9c5eb1c54.tar.gz
DiligentCore-7015b17f7928746e50a1197a31b5d2e9c5eb1c54.zip
Fixed issue with setting blend factors in Vk & D3D12 backends
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
index 767ecb02..83128316 100644
--- a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
@@ -282,7 +282,7 @@ namespace Diligent
void DeviceContextVkImpl::SetBlendFactors(const float* pBlendFactors)
{
- if (TDeviceContextBase::SetBlendFactors(m_BlendFactors, 0))
+ if (TDeviceContextBase::SetBlendFactors(pBlendFactors, 0))
{
EnsureVkCmdBuffer();
m_CommandBuffer.SetBlendConstants(m_BlendFactors);