diff options
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl2.cpp')
-rw-r--r-- | src/render/graphicshelpers/graphicshelpergl2.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl2.cpp b/src/render/graphicshelpers/graphicshelpergl2.cpp index 035083446..4ceed3901 100644 --- a/src/render/graphicshelpers/graphicshelpergl2.cpp +++ b/src/render/graphicshelpers/graphicshelpergl2.cpp @@ -218,6 +218,17 @@ void GraphicsHelperGL2::blendFunci(GLuint buf, GLenum sfactor, GLenum dfactor) qWarning() << "glBlendFunci() not supported by OpenGL 2.0 (since OpenGL 4.0)"; } +void GraphicsHelperGL2::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 2.0 (since OpenGL 4.0)"; +} + void GraphicsHelperGL2::alphaTest(GLenum mode1, GLenum mode2) { m_funcs->glEnable(GL_ALPHA_TEST); @@ -577,6 +588,20 @@ void GraphicsHelperGL2::pointSize(bool programmable, GLfloat value) m_funcs->glPointSize(value); } +void GraphicsHelperGL2::enablei(GLenum cap, GLuint index) +{ + Q_UNUSED(cap); + Q_UNUSED(index); + qWarning() << "glEnablei() not supported by OpenGL 2.0 (since 3.0)"; +} + +void GraphicsHelperGL2::disablei(GLenum cap, GLuint index) +{ + Q_UNUSED(cap); + Q_UNUSED(index); + qWarning() << "glDisablei() not supported by OpenGL 2.0 (since 3.0)"; +} + QSize GraphicsHelperGL2::getRenderBufferDimensions(GLuint renderBufferId) { Q_UNUSED(renderBufferId); |