diff options
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3.cpp')
-rw-r--r-- | src/render/graphicshelpers/graphicshelpergl3.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3.cpp b/src/render/graphicshelpers/graphicshelpergl3.cpp index d79431131..c76314a40 100644 --- a/src/render/graphicshelpers/graphicshelpergl3.cpp +++ b/src/render/graphicshelpers/graphicshelpergl3.cpp @@ -266,6 +266,17 @@ void GraphicsHelperGL3::blendFunci(GLuint buf, GLenum sfactor, GLenum dfactor) qWarning() << "glBlendFunci() not supported by OpenGL 3.0 (since OpenGL 4.0)"; } +void GraphicsHelperGL3::blendFuncSeparatei(GLuint buf, GLenum sRGB, GLenum dRGB, GLenum sAlpha, GLenum dAlpha) +{ + Q_UNUSED(buf); + Q_UNUSED(sRGB); + Q_UNUSED(dRGB); + Q_UNUSED(sAlpha); + Q_UNUSED(dAlpha); + + qWarning() << "glBlendFuncSeparatei() not supported by OpenGL 3.0 (since OpenGL 4.0)"; +} + void GraphicsHelperGL3::alphaTest(GLenum, GLenum) { qCWarning(Render::Rendering) << "AlphaTest not available with OpenGL 3.2 core"; @@ -950,6 +961,16 @@ void GraphicsHelperGL3::pointSize(bool programmable, GLfloat value) } } +void GraphicsHelperGL3::enablei(GLenum cap, GLuint index) +{ + m_funcs->glEnablei(cap, index); +} + +void GraphicsHelperGL3::disablei(GLenum cap, GLuint index) +{ + m_funcs->glDisablei(cap, index); +} + QSize GraphicsHelperGL3::getRenderBufferDimensions(GLuint renderBufferId) { GLint width = 0; |