From f181206cc5f7371106ea131560a6c9cafae557b4 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Tue, 10 May 2016 13:54:06 +0200 Subject: Make sure baseInstance and baseVertex are passed Change-Id: I2289ada6e9d17590c8e0891fde8dadcdb4d3e021 Task-number: QTBUG-53174 Reviewed-by: Paul Lemire --- src/render/graphicshelpers/graphicshelpergl3.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/render/graphicshelpers/graphicshelpergl3.cpp') 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"; -- cgit v1.2.3