summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h2
-rw-r--r--Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm4
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h
index b5a7feec..0bfff2b3 100644
--- a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h
+++ b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h
@@ -100,7 +100,7 @@ public:
virtual void NextSubpass() override final;
- virtual void EndRenderPass(bool UpdateResourceStates) override final;
+ virtual void EndRenderPass() override final;
virtual void Draw(const DrawAttribs& Attribs) override final;
virtual void DrawIndexed(const DrawIndexedAttribs& Attribs) override final;
diff --git a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm
index ff08c1bb..abfa15ba 100644
--- a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm
+++ b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm
@@ -383,9 +383,9 @@ namespace Diligent
LOG_ERROR_MESSAGE("DeviceContextMtlImpl::NextSubpass() is not implemented");
}
- void DeviceContextMtlImpl::EndRenderPass(bool UpdateResourceStates)
+ void DeviceContextMtlImpl::EndRenderPass()
{
- TDeviceContextBase::EndRenderPass(UpdateResourceStates);
+ TDeviceContextBase::EndRenderPass();
LOG_ERROR_MESSAGE("DeviceContextMtlImpl::EndRenderPass() is not implemented");
}