From OpenGL Reference
Jump to navigation Jump to search

Pop the active debug group.

C Specification[edit]

void glPopDebugGroup( void );


 glPopDebugGroup pops the active debug group. After popping a debug group, the GL will also generate a debug output message describing its cause based on the message string, the source source , and an ID id submitted to the corresponding glPushDebugGroup command. GL_DEBUG_TYPE_PUSH_GROUP and GL_DEBUG_TYPE_POP_GROUP share a single namespace for message id . severity has the value GL_DEBUG_SEVERITY_NOTIFICATION . The type has the value GL_DEBUG_TYPE_POP_GROUP . Popping a debug group restores the debug output volume control of the parent debug group.


 GL_STACK_UNDERFLOW is generated if an attempt is made to pop the default debug group from the stack.

Associated Gets[edit]

 glGet with argument GL_MAX_DEBUG_MESSAGE_LENGTH .

Version Support[edit]

 glPopDebugGroup  4.3+

See Also[edit]

 glPushDebugGroup , glObjectLabel , glObjectPtrLabel .


Copyright© 2013-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999.