summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-31 19:31:42 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-31 19:31:42 +0000
commitb731e5ae479f53adb2be57fdcef1a253c9edbf40 (patch)
tree74411c5c2d7a3a6b69c46794bcb7351686bbd61a /Graphics/GraphicsEngineOpenGL
parentImplemented switching to a fullscreen mode in d3d on Win32 (diff)
downloadDiligentCore-b731e5ae479f53adb2be57fdcef1a253c9edbf40.tar.gz
DiligentCore-b731e5ae479f53adb2be57fdcef1a253c9edbf40.zip
Fixed build error on iOS
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.h4
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm12
2 files changed, 15 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.h b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.h
index f41b5d52..4f91e2f8 100644
--- a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.h
+++ b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLIOS.h
@@ -51,6 +51,10 @@ public:
virtual void Resize( Uint32 NewWidth, Uint32 NewHeight )override final;
+ virtual void SetFullscreenMode(const DisplayModeAttribs &DisplayMode)override final;
+
+ virtual void SetWindowedMode()override final;
+
virtual GLuint GetDefaultFBO()const override final;
private:
diff --git a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm
index 3da0a75b..b56ed277 100644
--- a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm
+++ b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLIOS.mm
@@ -136,5 +136,15 @@ GLuint SwapChainGLIOS::GetDefaultFBO()const
{
return m_DefaultFBO;
}
-
+
+void SwapChainGLIOS::SetFullscreenMode(const DisplayModeAttribs &DisplayMode)
+{
+ UNSUPPORTED("Switching to fullscreen mode is not available on iOS");
+}
+
+void SwapChainGLIOS::SetWindowedMode()
+{
+ UNSUPPORTED("Switching to windowed mode is not available on iOS");
+}
+
}