diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-04-24 04:19:53 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-04-24 04:19:53 +0000 |
| commit | 29bf0df6800064ae75bc489bb4742daeefd29ec4 (patch) | |
| tree | 1b2777b2e4a43d806d0869ebf8018c19a64c8e66 /Graphics/GraphicsEngineOpenGL | |
| parent | Added surface pretransform parameter to swap chain desc (API 240057) (diff) | |
| download | DiligentCore-29bf0df6800064ae75bc489bb4742daeefd29ec4.tar.gz DiligentCore-29bf0df6800064ae75bc489bb4742daeefd29ec4.zip | |
Fixed iOS build error
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.hpp | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.hpp b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.hpp index d3c98f7c..fd05e9a2 100644 --- a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.hpp +++ b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.hpp @@ -47,7 +47,7 @@ public: 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 NewTransform) override final; virtual void SetFullscreenMode(const DisplayModeAttribs& DisplayMode) override final; diff --git a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm index d31c5055..fe5b9eaa 100644 --- a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm +++ b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm @@ -109,10 +109,10 @@ void SwapChainGLIOS::InitRenderBuffers(bool InitFromDrawable, Uint32 &Width, Uin } } -void SwapChainGLIOS::Resize( Uint32 NewWidth, Uint32 NewHeight ) +void SwapChainGLIOS::Resize( Uint32 NewWidth, Uint32 NewHeight, SURFACE_TRANSFORM NewTransform ) { InitRenderBuffers(false, NewWidth, NewHeight); - TSwapChainGLBase::Resize(NewWidth, NewHeight, 0); + TSwapChainGLBase::Resize(NewWidth, NewHeight, NewTransform, 0); } GLuint SwapChainGLIOS::GetDefaultFBO()const |
