diff options
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/EngineFactoryOpenGL.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/EngineFactoryOpenGL.cpp b/Graphics/GraphicsEngineOpenGL/src/EngineFactoryOpenGL.cpp index 18f08312..c44021d6 100644 --- a/Graphics/GraphicsEngineOpenGL/src/EngineFactoryOpenGL.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/EngineFactoryOpenGL.cpp @@ -112,6 +112,11 @@ void EngineFactoryOpenGLImpl::CreateDeviceAndSwapChainGL(const EngineGLCreateInf if( !ppDevice || !ppImmediateContext || !ppSwapChain ) return; + if (EngineCI.NumDeferredContexts > 0) + { + LOG_WARNING_MESSAGE("OpenGL back-end does not support deferred contexts"); + } + *ppDevice = nullptr; *ppImmediateContext = nullptr; *ppSwapChain = nullptr; @@ -181,6 +186,11 @@ void EngineFactoryOpenGLImpl::AttachToActiveGLContext(const EngineGLCreateInfo& if( !ppDevice || !ppImmediateContext ) return; + if (EngineCI.NumDeferredContexts > 0) + { + LOG_WARNING_MESSAGE("OpenGL back-end does not support deferred contexts"); + } + *ppDevice = nullptr; *ppImmediateContext = nullptr; |
