diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-05-10 13:54:06 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-05-12 13:45:57 +0000 |
commit | f181206cc5f7371106ea131560a6c9cafae557b4 (patch) | |
tree | f5864d13c06b30d68ed608af961eb7557fd9cc30 /src/render/graphicshelpers/graphicshelpergl3.cpp | |
parent | 544bc5594524b36b63feece874a4e8742cba9428 (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.cpp | 14 |
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"; |