diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-06 07:03:49 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-06 07:03:49 +0000 |
| commit | 03da14aa28a60c3275196dadfb3766f73097bd95 (patch) | |
| tree | 65babe630c99f3dba623032a69a3e2d66309b76f /Graphics/GraphicsEngineMetal | |
| parent | Still fixing metal back-end (diff) | |
| download | DiligentCore-03da14aa28a60c3275196dadfb3766f73097bd95.tar.gz DiligentCore-03da14aa28a60c3275196dadfb3766f73097bd95.zip | |
Still keep fixing metal back-end
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h | 12 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h index b6f26154..f3d711a2 100644 --- a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h +++ b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h @@ -49,13 +49,13 @@ class DeviceContextMtlImpl final : public DeviceContextBase<IDeviceContextMtl, D public: using TDeviceContextBase = DeviceContextBase<IDeviceContextMtl, DeviceContextMtlImplTraits>; - DeviceContextMtlImpl(IReferenceCounters* pRefCounters, - IMemoryAllocator& Allocator, - IRenderDevice* pDevice, - const struct EngineMtlAttribs& EngineAttribs, - bool bIsDeferred); + DeviceContextMtlImpl(IReferenceCounters* pRefCounters, + IMemoryAllocator& Allocator, + IRenderDevice* pDevice, + const struct EngineMtlCreateInfo& EngineAttribs, + bool bIsDeferred); - virtual void QueryInterface( const Diligent::INTERFACE_ID &IID, IObject **ppInterface )override final; + virtual void QueryInterface( const INTERFACE_ID &IID, IObject **ppInterface )override final; virtual void SetPipelineState(IPipelineState* pPipelineState)override final; diff --git a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm index c861002b..978fccf7 100644 --- a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm @@ -36,11 +36,11 @@ namespace Diligent { - DeviceContextMtlImpl::DeviceContextMtlImpl( IReferenceCounters* pRefCounters, - IMemoryAllocator& Allocator, - IRenderDevice* pDevice, - const struct EngineMtlAttribs& EngineAttribs, - bool bIsDeferred ) : + DeviceContextMtlImpl::DeviceContextMtlImpl( IReferenceCounters* pRefCounters, + IMemoryAllocator& Allocator, + IRenderDevice* pDevice, + const struct EngineMtlCreateInfo& EngineAttribs, + bool bIsDeferred ) : TDeviceContextBase(pRefCounters, pDevice, bIsDeferred) { } |
