summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-01 04:15:03 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-01 04:15:03 +0000
commit8fe65a18eee429379417697409f52125fba98ab5 (patch)
tree32c169e46c3f968b23c57d0d9e2c88d990ed6f41 /Graphics/GraphicsEngineMetal
parentAdded PipelineStateCreateInfo struct that is taken by IRenderDevice::CreateIn... (diff)
downloadDiligentCore-8fe65a18eee429379417697409f52125fba98ab5.tar.gz
DiligentCore-8fe65a18eee429379417697409f52125fba98ab5.zip
Fixed Metal build error
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm
index a250c6b5..82783328 100644
--- a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm
+++ b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm
@@ -151,7 +151,7 @@ void RenderDeviceMtlImpl::CreatePipelineState(const PipelineStateCreateInfo& PSO
[&]()
{
PipelineStateMtlImpl* pPipelineStateMtl( NEW_RC_OBJ(m_PSOAllocator, "PipelineStateMtlImpl instance", PipelineStateMtlImpl)
- (this, PSOCreateInfo.PSODesc) );
+ (this, PSOCreateInfo) );
pPipelineStateMtl->QueryInterface( IID_PipelineState, reinterpret_cast<IObject**>(ppPipelineState) );
OnCreateDeviceObject( pPipelineStateMtl );
}