glDebugMessageCallback

specify a callback to receive debugging messages from the GL

Signature

glDebugMessageCallback( DEBUGPROC ( callback ) , void * ( userParam ) )-> void
glDebugMessageCallback( callback , userParam )

Parameters

VariablesDescription
callback
The address of a callback function that will be called when a debug message is generated.
userParam
A user supplied pointer that will be passed on each invocation of callback .