summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp
index bc0222c8..a36260ef 100644
--- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp
@@ -79,9 +79,9 @@ namespace Diligent
void DeviceContextD3D11Impl::SetPipelineState(IPipelineState* pPipelineState)
{
- TDeviceContextBase::SetPipelineState( pPipelineState );
auto* pPipelineStateD3D11 = ValidatedCast<PipelineStateD3D11Impl>(pPipelineState);
- auto &Desc = pPipelineStateD3D11->GetDesc();
+ TDeviceContextBase::SetPipelineState( pPipelineStateD3D11, 0 /*Dummy*/ );
+ auto& Desc = pPipelineStateD3D11->GetDesc();
if (Desc.IsComputePipeline)
{
auto* pd3d11CS = pPipelineStateD3D11->GetD3D11ComputeShader();