diff options
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext.cpp')
-rw-r--r-- | src/render/graphicshelpers/graphicscontext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext.cpp b/src/render/graphicshelpers/graphicscontext.cpp index d934d33af..b5b2898db 100644 --- a/src/render/graphicshelpers/graphicscontext.cpp +++ b/src/render/graphicshelpers/graphicscontext.cpp @@ -604,6 +604,11 @@ QGraphicsApiFilter *GraphicsContext::contextInfo() const return m_contextInfo; } +bool GraphicsContext::supportsDrawBuffersBlend() const +{ + return m_glHelper->supportsFeature(GraphicsHelperInterface::DrawBuffersBlend); +} + /*! * Wraps an OpenGL call to glDrawElementsInstanced. * If the call is not supported by the system's OpenGL version, |