mesa: add const qualifier to glMultiDrawElementsEXT() indices param
The 20130624 version of glext.h changed this to match the glMultiDrawElements() function which already had the extra const qualifier. Fixes warnings/errors that seem to vary from one compiler to the next. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
@@ -10168,7 +10168,7 @@
|
||||
<param name="mode" type="GLenum"/>
|
||||
<param name="count" type="const GLsizei *"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
<param name="indices" type="const GLvoid **"/>
|
||||
<param name="indices" type="const GLvoid * const *"/>
|
||||
<param name="primcount" type="GLsizei"/>
|
||||
<glx handcode="true"/>
|
||||
</function>
|
||||
|
||||
@@ -1371,7 +1371,7 @@ vbo_validated_multidrawelements(struct gl_context *ctx, GLenum mode,
|
||||
static void GLAPIENTRY
|
||||
vbo_exec_MultiDrawElements(GLenum mode,
|
||||
const GLsizei *count, GLenum type,
|
||||
const GLvoid **indices,
|
||||
const GLvoid * const *indices,
|
||||
GLsizei primcount)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
@@ -1182,7 +1182,7 @@ _save_OBE_DrawRangeElements(GLenum mode, GLuint start, GLuint end,
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_MultiDrawElements(GLenum mode, const GLsizei *count, GLenum type,
|
||||
const GLvoid **indices, GLsizei primcount)
|
||||
const GLvoid * const *indices, GLsizei primcount)
|
||||
{
|
||||
GLsizei i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user