diff options
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h index 01630707..7cfca2da 100644 --- a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h +++ b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.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{ return 0; } }; diff --git a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp index 4939716d..e9349f7b 100644 --- a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp @@ -111,4 +111,14 @@ void SwapChainGLImpl::Resize( Uint32 NewWidth, Uint32 NewHeight ) } } +void SwapChainGLImpl::SetFullscreenMode(const DisplayModeAttribs &DisplayMode) +{ + UNSUPPORTED("OpenGL does not support switching to the fullscreen mode"); +} + +void SwapChainGLImpl::SetWindowedMode() +{ + UNSUPPORTED("OpenGL does not support switching to the windowed mode"); +} + } |
