#247 glMultiDrawElements: parameter "indices" is an incorrect type

1.11.0
closed
Nigel Stewart
None
7
2014-08-14
2014-06-18
Anonymous
No

The function glMultiDrawElements has the following prototype:

void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei drawcount)

The parameter "indices" should be of type const GLvoid * const *, like so:

void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei drawcount)

For reference, see the OpenGL 4.4 man pages: http://www.opengl.org/sdk/docs/man/

This ticket is similar to ticket #212.

Discussion

  • Nigel Stewart
    Nigel Stewart
    2014-07-13

    Yes, this appears to the fixed in the mainline:

    typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei count, GLenum type, const void const* indices, GLsizei drawcount);

     
  • Nigel Stewart
    Nigel Stewart
    2014-07-13

    • status: open --> pending
    • assigned_to: Nigel Stewart
    • Group: 1.10.0 --> 1.9.0
    • Priority: 2 --> 7
     


Anonymous


Cancel   Add attachments