summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl3.cpp
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2016-05-10 13:54:06 +0200
committerPaul Lemire <paul.lemire@kdab.com>2016-05-12 13:45:57 +0000
commitf181206cc5f7371106ea131560a6c9cafae557b4 (patch)
treef5864d13c06b30d68ed608af961eb7557fd9cc30 /src/render/graphicshelpers/graphicshelpergl3.cpp
parent544bc5594524b36b63feece874a4e8742cba9428 (diff)
Make sure baseInstance and baseVertex are passed
Change-Id: I2289ada6e9d17590c8e0891fde8dadcdb4d3e021 Task-number: QTBUG-53174 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3.cpp')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl3.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3.cpp b/src/render/graphicshelpers/graphicshelpergl3.cpp
index 791e7bf9a..549c665c3 100644
--- a/src/render/graphicshelpers/graphicshelpergl3.cpp
+++ b/src/render/graphicshelpers/graphicshelpergl3.cpp
@@ -91,13 +91,13 @@ void GraphicsHelperGL3::initializeHelper(QOpenGLContext *context,
}
}
-void GraphicsHelperGL3::drawElementsInstanced(GLenum primitiveType,
- GLsizei primitiveCount,
- GLint indexType,
- void *indices,
- GLsizei instances,
- GLint baseVertex,
- GLint baseInstance)
+void GraphicsHelperGL3::drawElementsInstancedBaseVertexBaseInstance(GLenum primitiveType,
+ GLsizei primitiveCount,
+ GLint indexType,
+ void *indices,
+ GLsizei instances,
+ GLint baseVertex,
+ GLint baseInstance)
{
if (baseInstance != 0)
qWarning() << "glDrawElementsInstancedBaseVertexBaseInstance is not supported with OpenGL ES 2";