summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl2.cpp')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl2.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl2.cpp b/src/render/graphicshelpers/graphicshelpergl2.cpp
index c21a6eeba..a73833b28 100644
--- a/src/render/graphicshelpers/graphicshelpergl2.cpp
+++ b/src/render/graphicshelpers/graphicshelpergl2.cpp
@@ -202,6 +202,15 @@ void GraphicsHelperGL2::blendEquation(GLenum mode)
m_funcs->glBlendEquation(mode);
}
+void GraphicsHelperGL2::blendFunci(GLuint buf, GLenum sfactor, GLenum dfactor)
+{
+ Q_UNUSED(buf);
+ Q_UNUSED(sfactor);
+ Q_UNUSED(dfactor);
+
+ qWarning() << "glBlendFunci() not supported by OpenGL 2.0 (since OpenGL 4.0)";
+}
+
void GraphicsHelperGL2::alphaTest(GLenum mode1, GLenum mode2)
{
m_funcs->glEnable(GL_ALPHA_TEST);