diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-04-01 04:15:03 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-04-01 04:15:03 +0000 |
| commit | 8fe65a18eee429379417697409f52125fba98ab5 (patch) | |
| tree | 32c169e46c3f968b23c57d0d9e2c88d990ed6f41 /Graphics/GraphicsEngineMetal | |
| parent | Added PipelineStateCreateInfo struct that is taken by IRenderDevice::CreateIn... (diff) | |
| download | DiligentCore-8fe65a18eee429379417697409f52125fba98ab5.tar.gz DiligentCore-8fe65a18eee429379417697409f52125fba98ab5.zip | |
Fixed Metal build error
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm | 2 |
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 ); } |
