summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/include/SwapChainMtlImpl.h2
-rw-r--r--Graphics/GraphicsEngineMetal/src/SwapChainMtlImpl.mm4
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/SwapChainMtlImpl.h b/Graphics/GraphicsEngineMetal/include/SwapChainMtlImpl.h
index a868dd32..0cadd44b 100644
--- a/Graphics/GraphicsEngineMetal/include/SwapChainMtlImpl.h
+++ b/Graphics/GraphicsEngineMetal/include/SwapChainMtlImpl.h
@@ -48,7 +48,7 @@ public:
virtual void QueryInterface(const Diligent::INTERFACE_ID& IID, IObject** ppInterface) override final;
virtual void Present(Uint32 SyncInterval) override final;
- virtual void Resize(Uint32 NewWidth, Uint32 NewHeight) override final;
+ virtual void Resize(Uint32 NewWidth, Uint32 NewHeight, SURFACE_TRANSFORM NewPreTransform) override final;
virtual void SetFullscreenMode(const DisplayModeAttribs& DisplayMode) override final;
diff --git a/Graphics/GraphicsEngineMetal/src/SwapChainMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/SwapChainMtlImpl.mm
index 87ba6a6b..7532f5cd 100644
--- a/Graphics/GraphicsEngineMetal/src/SwapChainMtlImpl.mm
+++ b/Graphics/GraphicsEngineMetal/src/SwapChainMtlImpl.mm
@@ -50,9 +50,9 @@ void SwapChainMtlImpl::Present(Uint32 SyncInterval)
}
-void SwapChainMtlImpl::Resize( Uint32 NewWidth, Uint32 NewHeight )
+void SwapChainMtlImpl::Resize( Uint32 NewWidth, Uint32 NewHeight, SURFACE_TRANSFORM NewPreTransform )
{
- if( TSwapChainBase::Resize(NewWidth, NewHeight) )
+ if( TSwapChainBase::Resize(NewWidth, NewHeight, NewPreTransform) )
{
LOG_ERROR_MESSAGE("SwapChainMtlImpl::Resize() is not implemented");
}