#233 GL_KHR_debug: GLDEBUGPROC incorrectly defined

1.11.0
closed
None
3
2014-08-12
2013-12-07
Anonymous
No

Under GL_KHR_debug the definition for GLDEBUGPROC is incorrect. The last parameter should be const void* userParam, not GLvoid* userParam.

http://www.opengl.org/registry/specs/KHR/debug.txt

Discussion

  • Anonymous - 2013-12-07

    This also affects GLDEBUGPROCARB. GLDEBUGPROCAMD is the only version which should take GLvoid* for userParam.

     
  • Nigel Stewart

    Nigel Stewart - 2013-12-09

    Indeed, from http://www.opengl.org/registry/api/GL/glext.h

    typedef void (APIENTRY GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar message,const void *userParam);

    typedef void (APIENTRY GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar message,void *userParam);

    http://www.opengl.org/registry/api/GL/glcorearb.h

    typedef void (APIENTRY GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar message,const void *userParam);

     
  • Nigel Stewart

    Nigel Stewart - 2013-12-09
    • assigned_to: Nigel Stewart
    • Group: 1.10.0 --> 1.10.1
     
  • Nigel Stewart

    Nigel Stewart - 2014-02-11
    • status: open --> pending
    • Priority: 1 --> 3
     
  • Nigel Stewart

    Nigel Stewart - 2014-08-12
    • Group: 1.10.1 --> 1.11.0
     
  • Nigel Stewart

    Nigel Stewart - 2014-08-12
    • Status: pending --> closed