From 8fe65a18eee429379417697409f52125fba98ab5 Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 31 Mar 2020 21:15:03 -0700 Subject: Fixed Metal build error --- Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineMetal') 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(ppPipelineState) ); OnCreateDeviceObject( pPipelineStateMtl ); } -- cgit v1.2.3