Khronos Public Bugzilla
Bug 1057 - Incorrect definition of DEBUGPROC
Summary: Incorrect definition of DEBUGPROC
Status: RESOLVED FIXED
Alias: None
Product: OpenGL
Classification: Unclassified
Component: Registry (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Jon Leech
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 17:15 PST by Chris
Modified: 2018-01-23 05:28 PST (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
Comment 2 Jon Leech 2018-01-23 05:28:59 PST
Fixed in the current GL4 reference pages (KhronosGroup/OpenGL-Refpages repository on github, and the web view thereof).