Khronos Public Bugzilla
Bug 1057 - Incorrect definition of DEBUGPROC
Incorrect definition of DEBUGPROC
Status: NEW
Product: OpenGL
Classification: Unclassified
Component: Registry
unspecified
All All
: P3 normal
: ---
Assigned To: Jon Leech
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 17:15 PST by Chris
Modified: 2014-07-05 12:01 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2013-12-09 17:15:04 PST
SDK Page: http://www.opengl.org/sdk/docs/man4/xhtml/glDebugMessageCallback.xml

The definition of DEBUGPROC is missing a const modifier on the argument userParam.

For reference: http://www.opengl.org/registry/specs/KHR/debug.txt
Comment 1 Chris 2013-12-09 20:58:04 PST
Looking further I see that in the 4.3 core spec it is declared (page 495) without const:

http://www.opengl.org/registry/doc/glspec43.core.20130214.pdf

In the 4.4 core spec it is declared (page 515) with const:

http://www.opengl.org/registry/doc/glspec44.core.pdf